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

Backwards compatible loading of server/executable #1611

Merged
merged 4 commits into from
Aug 23, 2024
Merged

Backwards compatible loading of server/executable #1611

merged 4 commits into from
Aug 23, 2024

Conversation

pmrv
Copy link
Contributor

@pmrv pmrv commented Aug 20, 2024

The issue in pyiron/pyiron_atomistics#1531 is caused by the fact that the dictionaries stored for servers/executables in HDF5 changed slightly and I assumed in #1602 that they would always be automatically loaded by the new HasDict functions. But that only works when the newer dictionaries are written, the older representation doesn't have the type information that allows HasDict to automatically load them, so GenericJob._from_dict assigned the plain dictionaries which then triggered the actual errors seen in CI.

With these changes I can load older Calphy and Vasp jobs again.

@samwaseda
Copy link
Member

I don’t merge #1617 until this one is merged for the sake of readability. Feel free to merge #1617 when you merge this one.

@pmrv pmrv merged commit 4394b7b into main Aug 23, 2024
25 checks passed
@pmrv pmrv deleted the server branch August 23, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants