Skip to content

Commit

Permalink
Fix python 3 dict key iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
marcvdijk committed Dec 18, 2019
1 parent 31f8a7a commit 2aae37a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mdstudio_workflow/workflow_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ def collect_data(output, task_dir):
graph = read_pydata(output, level=1)
for node in graph.nodes.values():

for key, value in node.items():
for key in list(node.keys()):

value = node[key]
if isinstance(value, PY_STRING) or is_file(value):

# Serialized file
Expand Down

0 comments on commit 2aae37a

Please sign in to comment.