Skip to content

Commit 85960e5

Browse files
authored
Update pyiron_base.py
1 parent 52d6d5e commit 85960e5

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

python_workflow_definition/src/python_workflow_definition/pyiron_base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ def get_unique_objects(nodes_dict, edges_lst): # I need a pre-filter before thi
123123
for dobj in delayed_object_dict.keys():
124124
match = False
125125
for obj in unique_lst:
126-
# print(delayed_object_dict[dobj]._list_index, delayed_object_dict[dobj]._output_key, delayed_object_dict[obj]._list_index, delayed_object_dict[obj]._output_key)
127-
if obj.split("_")[0] == dobj.split("_")[0] and delayed_object_dict[dobj]._input == delayed_object_dict[obj]._input:
126+
if delayed_object_updated_dict[obj]._python_function == delayed_object_dict[dobj]._python_function and delayed_object_dict[dobj]._input == delayed_object_dict[obj]._input:
128127
delayed_object_updated_dict[obj] = delayed_object_dict[obj]
129128
match_dict[dobj] = obj
130129
match = True

0 commit comments

Comments
 (0)