Skip to content

[WIP] Add support for wannier90 in VASP INCAR parsing #4462

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pymatgen/io/vasp/inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ def proc_val(key: str, val: str) -> list | bool | float | int | str:
)
lower_str_keys = ("ML_MODE",)
# String keywords to read "as is" (no case transformation, only stripped)
as_is_str_keys = ("SYSTEM",)
as_is_str_keys = ("SYSTEM", "WANNIER90_WIN")

def smart_int_or_float_bool(str_: str) -> float | int | bool:
"""Determine whether a string represents an integer or a float."""
Expand Down