Skip to content

Commit

Permalink
actually load the new IOValidationSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkuner committed Nov 1, 2023
1 parent f2b51a2 commit b576bc3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pymatgen/io/validation/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from pymatgen.io.vasp.inputs import Potcar

from emmet.core.tasks import TaskDoc
from emmet.core.settings import EmmetSettings
# from emmet.core.settings import EmmetSettings
from emmet.core.base import EmmetBaseModel
from emmet.core.mpid import MPID
from emmet.core.vasp.task_valid import TaskDocument
Expand All @@ -26,9 +26,11 @@
from pymatgen.io.validation.check_incar import _check_incar
from pymatgen.io.validation.check_common_errors import _check_common_errors
from pymatgen.io.validation.check_kpoints_kspacing import _check_kpoints_kspacing
from pymatgen.io.validation.settings import IOValidationSettings

SETTINGS = IOValidationSettings()

SETTINGS = EmmetSettings()
# SETTINGS = EmmetSettings()
_pmg_potcar_summary_stats = loadfn(resource_filename("pymatgen.io.vasp", "potcar_summary_stats.json.gz"))

# TODO: check for surface/slab calculations. Especially necessary for external calcs.
Expand Down

0 comments on commit b576bc3

Please sign in to comment.