We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ZnTrack should raise custom errors such as NodeLoadingError
NodeLoadingError
The text was updated successfully, but these errors were encountered:
Currently there are at least the following issues given the following Node:
from zntrack import Node, zn class WriteNumber(Node): input = zn.params() output = zn.outs() def run(self): self.output = self.input
When no dvc.yaml etc. exist the following issues occur:
dvc.yaml
print(empty_obj = WriteNumber["not-existend"]) # <main.WriteNumber object at 0x151794868550>(name=not-existend)
it should print some more information on the state of the Node. E.g. if the parameters could be read, outputs could be read, queued, git revision, ...
empty_obj.input # raises FileNotFoundError empty_obj.output# raises FileNotFoundError
both of these should raise different errors! Maybe ParamterNotAvailable and OutputsNotAvailable or InvalidStateError
ParamterNotAvailable
OutputsNotAvailable
If the graph is written but not executed it the outputs are not available and should raise the same error.
empty_obj.output# raises FileNotFoundError
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
ZnTrack should raise custom errors such as
NodeLoadingError
The text was updated successfully, but these errors were encountered: