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

Bug fix: fixed the leading capitalized ALGO in Vasprun #3866

Merged

Conversation

yanghan234
Copy link
Contributor

Summary

Major changes:

pymatgen automatically converts the input ALGO to the leading capitalized format, e.g. GW0 will be converted to Gw0 and written to vasprun.xml. In such case, Vasprun would fail to parse the results. In this PR, I fixed this bug.

Tagging @mkhorton for awareness.

@janosh janosh added needs testing PRs that are not ready to merge due to lacking tests io Input/output functionality fix Bug fix PRs vasp Vienna Ab initio Simulation Package labels Jun 6, 2024
Copy link
Member

@janosh janosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @yanghan234! can you add a test for this fix?

@mkhorton
Copy link
Member

mkhorton commented Jun 9, 2024

Thanks @yanghan234, I will merge this.

@mkhorton mkhorton merged commit 735db5b into materialsproject:master Jun 9, 2024
33 checks passed
@yanghan234 yanghan234 deleted the hanyang/vasprun-parser-bug-fix branch September 7, 2024 04:21
@yanghan234 yanghan234 restored the hanyang/vasprun-parser-bug-fix branch September 7, 2024 04:25
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 needs testing PRs that are not ready to merge due to lacking tests vasp Vienna Ab initio Simulation Package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants