Skip to content

Commit b20c7aa

Browse files
authored
Merge pull request #45214 from smuzaffar/wf-runner-fix
workflow runner: use previous step output as next step input
2 parents b605a4d + 4545c62 commit b20c7aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Configuration/PyReleaseValidation/python/WorkFlowRunner.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,10 @@ def closeCmd(i,ID):
164164
cmd+=' --filein file:step%s.root '%(istep-1,)
165165
elif "ALCA" in steps and "RECO" in steps:
166166
cmd+=' --filein file:step%s.root '%(istep-1,)
167-
else:
167+
elif self.recoOutput:
168168
cmd+=' --filein %s'%(self.recoOutput)
169+
else:
170+
cmd+=' --filein file:step%s.root '%(istep-1,)
169171
if not '--fileout' in com:
170172
cmd+=' --fileout file:step%s.root '%(istep,)
171173
if "RECO" in cmd:

0 commit comments

Comments
 (0)