Bug Fix in mg_cards.py
tiny bug fix: previously, muf and mur were not both added to systematics
@@ -190,10 +190,11 @@ def create_systematics_arguments(systematics):
systematics_arguments.append("'--muf={}'".format(systematics["mu"]))
systematics_arguments.append("'--together=mur,muf'")
- elif "mur" in systematics:
+ else:
+ if "mur" in systematics:
systematics_arguments.append("'--mur={}'".format(systematics["mur"]))
- elif "muf" in systematics:
+ if "muf" in systematics:
systematics_arguments.append("'--muf={}'".format(systematics["muf"]))
if "pdf" in systematics:
