Commit a781a54a authored by Zach Marshall's avatar Zach Marshall
Browse files

Patching MadGraphControl use of sde_strategy

The sde_strategy parameter only exists for LO run cards. Therefore we
need to restrict its setting to LO run cards... or we get a crash from
an unknown parameter. Duh.
parent 6edba004
......@@ -312,7 +312,7 @@ def new_process(process='generate p p > t t~\noutput -f', keepJpegs=False, usePM
# After 2.9.3, enforce the standard default sde_strategy, so that this won't randomly change on the user
if is_version_or_newer([2,9,3]):
if is_version_or_newer([2,9,3]) and not is_NLO_run(process_dir=process_dir):'Setting default sde_strategy to old default (1)')
my_settings = {'sde_strategy':1}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment