Skip to content

Commit

Permalink
Merge pull request #661 from pyiron/more_flexible_special_nodes
Browse files Browse the repository at this point in the history
Make special workflow nodes more flexible at instantiation
  • Loading branch information
liamhuber authored May 5, 2023
2 parents b44cf1e + ec7f115 commit cf49927
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pyiron_contrib/workflow/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,8 @@ def __init__(
label: Optional[str] = None,
input_storage_priority: Optional[dict[str, int]] = None,
output_storage_priority: Optional[dict[str, int]] = None,
run_on_updates=True,
update_on_instantiation=True,
workflow: Optional[Workflow] = None,
**kwargs
):
Expand All @@ -506,8 +508,8 @@ def __init__(
label=label,
input_storage_priority=input_storage_priority,
output_storage_priority=output_storage_priority,
run_on_updates=True,
update_on_instantiation=True,
run_on_updates=run_on_updates,
update_on_instantiation=update_on_instantiation,
workflow=workflow,
** kwargs
)
Expand Down Expand Up @@ -539,6 +541,8 @@ def __init__(
label: Optional[str] = None,
input_storage_priority: Optional[dict[str, int]] = None,
output_storage_priority: Optional[dict[str, int]] = None,
run_on_updates=True,
update_on_instantiation=True,
workflow: Optional[Workflow] = None,
**kwargs
):
Expand All @@ -549,6 +553,8 @@ def __init__(
label=label,
input_storage_priority=input_storage_priority,
output_storage_priority=output_storage_priority,
run_on_updates=run_on_updates,
update_on_instantiation=update_on_instantiation,
workflow=workflow,
**kwargs
)
Expand Down

0 comments on commit cf49927

Please sign in to comment.