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

Combine zn.deps and zn.nodes #583

Closed
PythonFZ opened this issue Apr 10, 2023 · 0 comments · Fixed by #719
Closed

Combine zn.deps and zn.nodes #583

PythonFZ opened this issue Apr 10, 2023 · 0 comments · Fixed by #719

Comments

@PythonFZ
Copy link
Member

The two implementations of zn.nodes and zn.deps seem to lead to a lot of confusion.
Would it improve or overcomplicate combining the two into one?

calc = ... # this won't have its run method called
with Project():
   sim(calc=calc) # zn.nodes
with Project():
   calc = ... # this will it's run method have called.
   sim(calc=calc) # zn.deps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants