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

Read INCAR SYSTEM as is, check_params use proc_val #4136

Merged
merged 14 commits into from
Nov 12, 2024
Merged
Prev Previous commit
Next Next commit
use a non capitalized string for test
  • Loading branch information
DanielYang59 committed Oct 26, 2024
commit 826a27c7f4df95e7f4e2b198dd41536f93d5cc25
4 changes: 2 additions & 2 deletions tests/io/vasp/test_inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,15 +717,15 @@ def test_from_file_and_from_dict(self):
float/int, and might yield values in wrong type.
"""
# Init from dict
incar_dict = {"ENCUT": 500, "GGA": "PS", "NELM": 60.0, "SYSTEM": "This should not be capitalized"}
incar_dict = {"ENCUT": 500, "GGA": "PS", "NELM": 60.0, "SYSTEM": "This should NOT BE capitalized"}
incar_from_dict = Incar(incar_dict)

# Init from file (from string)
incar_str = """\
ENCUT = 500
GGA = PS
NELM = 60.0
SYSTEM = This should not be capitalized
SYSTEM = This should NOT BE capitalized
"""

with ScratchDir("."):
Expand Down
Loading