You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A workflow (workflow.cwl) consists of three steps: br, path1 and path2.
A step br outputs output1.txt as output1 if an input of workflow is 1 or outputs output2.txt as output2 otherwise.
The type for output1 and output2 in br is File?.
A step path1 (or path2 respectively) receives the output of br and print Path1! output1.txt if br outputs output1.txt or print Path1! otherwise.
The input type of path1 and path2 is File?.
I put a set of workflow codes in https://github.com/tom-tan/cwl-poc.
A workflow (
workflow.cwl
) consists of three steps:br
,path1
andpath2
.A step
br
outputsoutput1.txt
asoutput1
if an input of workflow is1
or outputsoutput2.txt
asoutput2
otherwise.The type for
output1
andoutput2
inbr
isFile?
.A step
path1
(orpath2
respectively) receives the output ofbr
and printPath1! output1.txt
ifbr
outputsoutput1.txt
or printPath1!
otherwise.The input type of
path1
andpath2
isFile?
.How to reproduce
Expected Behavior
The following commands are executed.
python branch.py 1
(forbr
)echo Path1! output1.txt
(forpath1
)echo Path2!
(forpath2
)Actual Behavior
A workflow resulted in
permanentFailure
becausepath1
resulted inpermanentFailure
.Note that
path2
finished successfully.Outputs
I also run the above command with
--leave-outputs
option and find thatoutput1.txt
is successfully generated bybr
.Your Environment
I confirmed this issue with
cwltool
installed via pip.The text was updated successfully, but these errors were encountered: