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

Bugfix for Vasprun reading with POTCAR for chemical shift calculations #3204

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

MichaelWolloch
Copy link
Contributor

Summary

Major changes:

  • Fixes a bug updating the charges from POTCAR while reading a vasprun.xml file in the case of a chemical shift calculation
  • Slight update to the splitting of POTCARs when reading from file.
  • Added a test for the chemical shift vasprun.xml parsing with a POTCAR
  • Re-added a test for internal POTCAR hashes.

This work is a result of updating atomate to work with the newest pymatgen and custodian releases and figuring out a hard to spot bug that was present there since May. Please see hackingmaterials/atomate#778 (comment) for details.

Another discussion related to this was taking place in #3068. There the hashing system was (hotly) debated and the initial problem was fixed (afaik). I still think that this PR has a nicer version, which is easy to read and preserves the internal hashes. This is why I re-enabled that unit-test. However, I am fine with commenting that out again or use the new PMG_POTCAR_CHECKS environmental variable to make it conditional?

@janosh janosh added io Input/output functionality fix Bug fix PRs vasp Vienna Ab initio Simulation Package labels Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix PRs io Input/output functionality vasp Vienna Ab initio Simulation Package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants