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

Raise descriptive error if zn.nodes is on the graph #561

Closed
PythonFZ opened this issue Apr 4, 2023 · 0 comments · Fixed by #562
Closed

Raise descriptive error if zn.nodes is on the graph #561

PythonFZ opened this issue Apr 4, 2023 · 0 comments · Fixed by #562

Comments

@PythonFZ
Copy link
Member

PythonFZ commented Apr 4, 2023

If you try to use zn.nodes with a Node that is on the graph, raise a good error like:

You tried to use the Node name=... with Node name=... as zn.nodes on the attribute ... but the Node is already part of the graph. Define zn.nodes outside the graph context and pass them only as arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant