Skip to content

Commit 1b245ae

Browse files
committed
silence validation
1 parent 39b9d56 commit 1b245ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python_workflow_definition/src/python_workflow_definition/pyiron_workflow.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ def load_workflow_json(file_name: str) -> Workflow:
272272
name = fnc.__name__ + "_" + str(counter_dict[node_dict["value"]])
273273
else:
274274
name = fnc.__name__
275-
n = function_node(fnc, output_labels=name) # Strictly force single-output
275+
n = function_node(
276+
fnc, output_labels=name, validate_output_labels=False
277+
) # Strictly force single-output
276278
nodes[node_dict["id"]] = n
277279
wf.add_child(child=n, label=name)
278280
elif node_dict["type"] == "input":

0 commit comments

Comments
 (0)