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

Writing the Graph creates / overwrittes zn.files #203

Closed
PythonFZ opened this issue Jan 25, 2022 · 0 comments · Fixed by #206
Closed

Writing the Graph creates / overwrittes zn.files #203

PythonFZ opened this issue Jan 25, 2022 · 0 comments · Fixed by #206

Comments

@PythonFZ
Copy link
Member

Running

class Example(Node):
   outs = zn.outs()

  def run(self):
    pass

will not only create the nodes directory but also the outs.json inside it. It will also overwrite an existing file which might not be desired and should only happen in the run method.

@PythonFZ PythonFZ mentioned this issue Jan 26, 2022
PythonFZ added a commit that referenced this issue Jan 26, 2022
* fix tests

* Update test_single_node.py

* push coverage
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.

1 participant