-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error with dataclass in queue submission (?) #508
Comments
That seems to be a pint related issue hgrecco/pint#1969 (comment) - @niklassiemer is already working on it pyiron/docker-stacks#417 |
I hope that's it, because otherwise I am not seeing how to fix it. On the off chance that this isn't purely an upstream/pint issue and we need to dig deeper, try simplifying your example like this: import pyiron_workflow as pwf
from dataclasses import dataclass
@dataclass
class SomeData:
foo: str = "foo"
bar: int = 42
@pwf.as_function_node
def SomeNode(data):
return data
n = SomeNode(SomeData())
# Then the rest of the submission and load looping on this simpler node |
If it is the pint stuff, it will break by just |
Right, and the import line itself is indeed at the root of the stack trace, I should have noticed that. Looking super probable this is a non-workflow issue, and hopefully the new release with the latest pint will resolve the downgrade issue you're having on the docker stack |
I fixed (?) it by running in a completely separate environment with my own pyiron_workflow. The good news is that the first vasp calculation using liam's method of node serialisation was now successful! Looking forward to running production |
Some kind of weird error when I try to submit vasp to the queue
In the
error.out
The text was updated successfully, but these errors were encountered: