File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Configuration/PyReleaseValidation/python Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -159,10 +159,11 @@ def closeCmd(i,ID):
159159 # Disable input for premix stage2 in FastSim to allow combined stage1+stage2 workflow (in FS, stage2 does also GEN)
160160 # Ugly hack but works
161161 if istep != 1 and not '--filein' in cmd and not 'premix_stage1' in cmd and not ("--fast" in cmd and "premix_stage2" in cmd ):
162- if "ALCA" not in cmd :
162+ steps = cmd .split ("-s " )[1 ].split (" " )[0 ] ## relying on the syntax: cmsDriver -s STEPS --otherFlags
163+ if "ALCA" not in steps :
164+ cmd += ' --filein file:step%s.root ' % (istep - 1 ,)
165+ elif "ALCA" in steps and "RECO" in steps :
163166 cmd += ' --filein file:step%s.root ' % (istep - 1 ,)
164- elif "ALCA" in cmd and "RECO" in cmd :
165- cmd += ' --filein file:step%s.root ' % (istep - 1 ,)
166167 else :
167168 cmd += ' --filein %s' % (self .recoOutput )
168169 if not '--fileout' in com :
You can’t perform that action at this time.
0 commit comments