-
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
JobCalculations that are cached do not have anything in their repo folder #1744
Comments
I agree, it should also copy the folder contents. In principle that is done in the Do you have a minimal failing example for testing? |
Well, I imagine is reproducible, our was in a workflow, but I think that if you enable caching and run e.g. the file |
As far as I can tell, it's the |
Ah I see, that only returns things which are inside the |
if new is the node you are creating, and old the one you are caching from, this should work: new.folder.replace_with_folder(old.folder.abspath, move=False, overwrite=True) |
Yeah, I found it in the meantime 👍 For the v0.12 version, this is implemented in |
Thanks @greschd! |
@AntimoMarrazzo FYI this is now fixed |
Therefore, for instance, doing a
verdi calculation inputcat
on a cached calculation gives an error.I think the correct behaviour should be, beside copying all attributes, also copying the whole repository folder.
@greschd do you agree? Where is the code to do this?
Also, I think maybe this should be fixed both in 0.12.x and in develop?
The text was updated successfully, but these errors were encountered: