Skip to content

Commit 9360c29

Browse files
authored
pyiron return list of objects rather than just the last object (#63)
1 parent a399187 commit 9360c29

File tree

10 files changed

+3598
-10
lines changed

10 files changed

+3598
-10
lines changed

aiida_nfdi.ipynb

Lines changed: 411 additions & 1 deletion
Large diffs are not rendered by default.

aiida_qe.ipynb

Lines changed: 506 additions & 1 deletion
Large diffs are not rendered by default.

aiida_simple.ipynb

Lines changed: 263 additions & 1 deletion
Large diffs are not rendered by default.

jobflow_nfdi.ipynb

Lines changed: 374 additions & 1 deletion
Large diffs are not rendered by default.

jobflow_qe.ipynb

Lines changed: 427 additions & 1 deletion
Large diffs are not rendered by default.

jobflow_simple.ipynb

Lines changed: 329 additions & 1 deletion
Large diffs are not rendered by default.

python_workflow_definition/src/python_workflow_definition/pyiron_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def load_workflow_json(project, file_name):
241241
source_handle_dict=source_handle_dict,
242242
pyiron_project=project,
243243
)
244-
return delayed_object_dict[list(delayed_object_dict.keys())[-1]]
244+
return list(delayed_object_dict.values())
245245

246246

247247
def write_workflow_json(delayed_object, file_name="workflow.json"):

universal_workflow_nfdi.ipynb

Lines changed: 383 additions & 1 deletion
Large diffs are not rendered by default.

universal_workflow_qe.ipynb

Lines changed: 521 additions & 1 deletion
Large diffs are not rendered by default.

universal_workflow_simple.ipynb

Lines changed: 383 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)