-
Notifications
You must be signed in to change notification settings - Fork 192
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
get_builder_restart()
failing due to absence of resources
#5977
Comments
options
to get_builder_restart()
failing for complex wort chain due to absence of resources
get_builder_restart()
failing for complex wort chain due to absence of resources
get_builder_restart()
failing due to absence of resources
I think this should have already been fixed in v2.3 with #5801 . The problem was that the metadata inputs were not being stored in a way that would allow to restore them fully. The only downside is that this won't work retro-actively, but for any workchains run with v2.3 and up the problem should be fixed. It is not really possible to provide any data migrations to make this work retroactively. |
Alright, let me give a try with a freshly run work chain in v2.3 and get back to you! In case it's fixed, I will close. |
Did you get a chance to try @mbercx ? Can this be closed? |
Hmm, I just gave it another try, and it still seems broken. Restarted the daemon and everything. Still, will try again in a fresh environment and see if I can reproduce it there. So leave it open a bit longer, I'll report back by the AiiDA meeting next week (made a note in the HackMD). |
for the workchain where it seems to be broken, can you check the attributes of that node. It should contain the |
I was just about to start a discussion about this on AiiDA discourse, before I found this issue. Probably, you discussed it in the AiiDA meeting back then, but since this issue is still open, and I still encounter it in AiiDA 2.4 and 2.5, I'll just add the output that you mentioned to this discussion. This example is based on a
I reproduced some parts of the source code along the pathway of
So this happens already before the metadata inputs are merged:
Independent of whether this has been already discussed or not, I would be really interested in the reasoning behind this. So far, I couldn't really understand why this is happening, in case more nested levels are present. In the end, the update function is basically called iteratively, so I don't really see the difference. Thanks in advance! |
Thanks for the report @t-reents . Could you perhaps export the |
Describe the bug
When trying to use
get_builder_restart()
from a more convoluted work chain I wrote, the operation failed with aValueError
related to theoptions.metadata.resources
:Full Traceback
But it does seem to work for a
PwBaseWorkChain
example:Steps to reproduce
See above, will do some more testing myself and report back.
Expected behavior
Get a nice and fully populated builder, including metadata and all.
Your environment
The text was updated successfully, but these errors were encountered: