Skip to content

Commit 453545e

Browse files
fix failing test (?) / lint
1 parent cc2f016 commit 453545e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pymatgen/io/validation/check_potcar.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ def check(self, reasons: list[str], valid_input_set: VaspInputSet, structure: St
8080
continue
8181

8282
for ref_psp in reference_summary_stats:
83-
8483
if found_match := self.compare_potcar_stats(ref_psp, potcar["summary_stats"]):
8584
break
8685

tests/test_validation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,10 +559,10 @@ def test_task_document(test_dir):
559559

560560
calcs = {}
561561
calcs["compliant"] = loadfn(
562-
str(test_dir / "vasp" / "TaskDocuments" / "MP_compatible_GaAs_r2SCAN_static_TaskDocument.json.gz")
562+
str(test_dir / "vasp" / "TaskDocuments" / "MP_compatible_GaAs_r2SCAN_static_TaskDocument.json.gz"), cls=None
563563
)
564564
calcs["non-compliant"] = loadfn(
565-
str(test_dir / "vasp" / "TaskDocuments" / "MP_incompatible_GaAs_r2SCAN_static_TaskDocument.json.gz")
565+
str(test_dir / "vasp" / "TaskDocuments" / "MP_incompatible_GaAs_r2SCAN_static_TaskDocument.json.gz"), cls=None
566566
)
567567

568568
valid_docs = {}

0 commit comments

Comments
 (0)