Commit 45507a16 authored by Michal Kreps's avatar Michal Kreps
Browse files

Recognise Madgraph in tests

parent 433b92ce
Pipeline #3261450 failed with stages
in 7 minutes and 10 seconds
......@@ -52,6 +52,9 @@ def productionTool(dkopts):
return '$LBSUPERCHIC2ROOT/options/SuperChic2Pythia8.py'
if 'Generation.AlpGenDict' in line:
return '$LBALPGENROOT/options/AlpGen.py'
if 'sampleGenToolsOpts' in line and 'Generator' in line:
if 'Madgraph' in line:
return '$LBMADGRAPHROOT/options/MadgraphPythia8.py'
match = re.search(
r'''importOptions\s*\(\s*['"]([^'"]+)['"]\s*\)''', line
)
......
Supports Markdown
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