Skip to content

Commit

Permalink
Add test for OBE64
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Aug 20, 2024
1 parent 7afb6c5 commit 3fee7d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/io/vasp/test_sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,12 @@ def setUpClass(cls):
cls.mit_set_unsorted = cls.set(cls.structure, sort_structure=False)
cls.mp_set = MPRelaxSet(cls.structure)

def test_pbe64(self):
vis = MPRelaxSet(self.structure, user_potcar_functional="PBE_64")
assert vis.potcar[0].keywords["TITEL"] == "PAW_PBE Fe_pv 02Aug2007"
assert vis.potcar[1].keywords["TITEL"] == "PAW_PBE P 06Sep2000"
assert vis.potcar[2].keywords["TITEL"] == "PAW_PBE O 08Apr2002"

def test_no_structure_init(self):
# basic test of initialization with no structure.
vis = MPRelaxSet()
Expand Down

1 comment on commit 3fee7d5

@hongyi-zhao
Copy link
Contributor

@hongyi-zhao hongyi-zhao commented on 3fee7d5 Aug 20, 2024

Choose a reason for hiding this comment

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

Is OBE64 a typo for PBE64?

Please sign in to comment.