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

Sign convention inconsistency between pymatgen and atomate2 #2576

Closed
jmmshn opened this issue Jul 6, 2022 · 1 comment
Closed

Sign convention inconsistency between pymatgen and atomate2 #2576

jmmshn opened this issue Jul 6, 2022 · 1 comment

Comments

@jmmshn
Copy link
Contributor

jmmshn commented Jul 6, 2022

Here the sign convention is more electrons bigger number:

charge = nelect - potcar_nelect

Here nelect is the number computed from the potcar so it is exactly the opposite of the definition above:
https://github.com/materialsproject/atomate2/blob/e11f3d2c7f943d012b80b935a9585bee7d18a645/src/atomate2/vasp/sets/base.py#L478-L484

Just wanna flag this issue before making a PR.

@jmmshn
Copy link
Contributor Author

jmmshn commented Jul 8, 2022

Fixed in #2577

@jmmshn jmmshn closed this as completed Jul 8, 2022
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

No branches or pull requests

1 participant