Skip to content

Commit 6653fdf

Browse files
committed
iterate over keys
1 parent 29274ee commit 6653fdf

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
@@ -85,7 +85,7 @@ def _write_function_cwl(workflow):
8585
function_nodes_dict, funct_dict = _get_function(workflow)
8686
file_lst = []
8787

88-
for i in range(len(function_nodes_dict)):
88+
for i in function_nodes_dict.keys():
8989
template = {
9090
"cwlVersion": "v1.2",
9191
"class": "CommandLineTool",

0 commit comments

Comments
 (0)