We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e4e25a1 + 6fb039f commit 34dff37Copy full SHA for 34dff37
pippin/snana_fit.py
@@ -187,8 +187,8 @@ def compute_fitopts(self):
187
self.logger.debug(f"USE_SAME_EVENTS: {self.use_same_events}")
188
mapped = {"DEFAULT": "FITOPT000.FITRES.gz"}
189
mapped2 = {0: "DEFAULT"}
190
- if self.use_same_events == 1:
191
- self.yaml["CONFIG"]["OPT_SNCID_LIST"] = 1
+ if self.use_same_events > 0:
+ self.yaml["CONFIG"]["OPT_SNCID_LIST"] = self.use_same_events
192
for i, line in enumerate(fitopts):
193
label = line.strip().split("/")[1]
194
mapped[label] = f"FITOPT{i + 1:03d}.FITRES.gz"
0 commit comments