Skip to content

Commit 39b9d56

Browse files
committed
uniquue child names
1 parent c027262 commit 39b9d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python_workflow_definition/src/python_workflow_definition/pyiron_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def load_workflow_json(file_name: str) -> Workflow:
274274
name = fnc.__name__
275275
n = function_node(fnc, output_labels=name) # Strictly force single-output
276276
nodes[node_dict["id"]] = n
277-
wf.add_child(n)
277+
wf.add_child(child=n, label=name)
278278
elif node_dict["type"] == "input":
279279
input_values[node_dict["id"]] = node_dict["value"]
280280

0 commit comments

Comments
 (0)