Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order things for circular graphs #761

Merged
merged 7 commits into from
Jul 11, 2023
Merged

Conversation

liamhuber
Copy link
Member

@liamhuber liamhuber commented Jul 6, 2023

A simple fix to Function(Node) behaviour such that output channels get updated after the running status gets set to false but before the ran signal fires. This makes it possible to unambiguously resolve race conditions in cyclic graphs.

This is important, necessary, and ready for use, but not something I want to be selling yet -- so it gets tested in the integration tests and is documented in the classes, but is intentionally not yet advertised in the demo notebook.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2023

Binder 👈 Launch a binder notebook on branch pyiron/pyiron_contrib/order_things_for_circular

@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2023

Pull Request Test Coverage Report for Build 5488172209

  • 324 of 364 (89.01%) changed or added relevant lines in 8 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.3%) to 12.735%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pyiron_contrib/workflow/node_library/package.py 1 2 50.0%
pyiron_contrib/workflow/workflow.py 27 28 96.43%
pyiron_contrib/workflow/composite.py 93 104 89.42%
pyiron_contrib/workflow/function.py 138 151 91.39%
pyiron_contrib/workflow/node.py 54 68 79.41%
Totals Coverage Status
Change from base Build 5415292651: 0.3%
Covered Lines: 1811
Relevant Lines: 14221

💛 - Coveralls

@liamhuber liamhuber self-assigned this Jul 10, 2023
@liamhuber liamhuber added the .workflow Pertaining to the workflow submodule label Jul 10, 2023
@liamhuber liamhuber changed the base branch from main to is_nodal_mixin July 10, 2023 18:26
@liamhuber liamhuber requested a review from samwaseda July 10, 2023 18:33
@liamhuber liamhuber marked this pull request as ready for review July 10, 2023 18:33
pyiron_contrib/workflow/node.py Show resolved Hide resolved
pyiron_contrib/workflow/node.py Outdated Show resolved Hide resolved
pyiron_contrib/workflow/node.py Outdated Show resolved Hide resolved
@samwaseda
Copy link
Member

The changes are connected

@liamhuber
Copy link
Member Author

The changes are connected

Agreed, that reads much nicer. All committed.

@liamhuber liamhuber merged commit 491d855 into is_nodal_mixin Jul 11, 2023
@delete-merged-branch delete-merged-branch bot deleted the order_things_for_circular branch July 11, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.workflow Pertaining to the workflow submodule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants