Skip to content

Commit

Permalink
fix MeshSymmetryErrorHandler treating ISYM=-1 as symmetry ON
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Aug 15, 2023
1 parent 26bf28a commit 7b0c061
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custodian/vasp/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -991,9 +991,9 @@ def check(self):
return False

# According to VASP admins, you can disregard this error
# if symmetry is off
# if symmetry is off (i.e. ISYM = -1 or 0)
# Also disregard if automatic KPOINT generation is used
if (not vi["INCAR"].get("ISYM", True)) or (
if vi["INCAR"].get("ISYM", 2) <= 0 or (
vi["KPOINTS"] and vi["KPOINTS"].style == Kpoints.supported_modes.Automatic
):
return False
Expand Down

0 comments on commit 7b0c061

Please # to comment.