Skip to content

Commit 92ee192

Browse files
committed
number all steps
1 parent 157ce59 commit 92ee192

File tree

1 file changed

+1
-1
lines changed
  • python_workflow_definition/src/python_workflow_definition/cwl

1 file changed

+1
-1
lines changed

python_workflow_definition/src/python_workflow_definition/cwl/export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def _write_workflow(workflow):
209209
+ "_file"
210210
)
211211
workflow_template["steps"].update(
212-
{step_name_lst[ind]: {"run": node_script, "in": in_dict, "out": output}}
212+
{step_name_lst[ind] + "_" + str(ind): {"run": node_script, "in": in_dict, "out": output}}
213213
)
214214
with open("workflow.cwl", "w") as f:
215215
dump(workflow_template, f, Dumper=Dumper)

0 commit comments

Comments
 (0)