-
Notifications
You must be signed in to change notification settings - Fork 20
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
fix: potential issues with version numbers and dataloading #109
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… transpose in energies
sudarshanv01
changed the title
Fix potential issues with version numbers and dataloading
fix: potential issues with version numbers and dataloading
Sep 15, 2023
Second issue will be fixed in #108 - first issue will be discussed later. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks to @mt-huebsch for pointing out the following two issues (most likely stemming from our last commit, couple of weeks ago).
Cell
schema requires scale coming fromintermediate/positions/scale
, which seems to be added to the HDF5 file only in v6.5. This change is different fromresults/positions/scale
, which was used earlier (assuming that the scale is commonly multiplied for all intermediate steps (which would only be correct if scale=1). In this PR, I scale back to earlier way of working, but it would be great if there was an "optional" somewhere for 6.4 and 6.5?.energies.to_dict()
was breaking because a transpose operation was being applied to theVaspData
object. In this PR, I convert it to a numpy array and then pass it in to the iterator. I am unclear why this function was not breaking before.