Skip to content

Commit

Permalink
Merge 7ff37b4 into 463e4f1
Browse files Browse the repository at this point in the history
  • Loading branch information
rkingsbury committed Jun 6, 2021
2 parents 463e4f1 + 7ff37b4 commit 06d270c
Show file tree
Hide file tree
Showing 4 changed files with 403 additions and 1 deletion.
9 changes: 9 additions & 0 deletions pymatgen/io/qchem/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1264,6 +1264,15 @@ def _check_completion_errors(self):
== [[]]
):
self.data["errors"] += ["premature_end_FileMan_error"]
elif (
read_pattern(
self.text,
{"key": r"need to increase the array of NLebdevPts"},
terminate_on_match=True,
).get("key")
== [[]]
):
self.data["errors"] += ["NLebdevPts"]
elif read_pattern(self.text, {"key": r"method not available"}, terminate_on_match=True).get("key") == [[]]:
self.data["errors"] += ["method_not_available"]
elif (
Expand Down
2 changes: 1 addition & 1 deletion pymatgen/io/qchem/tests/single_job.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pymatgen/io/qchem/tests/test_outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
"new_qchem_files/mpi_error.qout",
"new_qchem_files/molecule_read_error.qout",
"new_qchem_files/basis_not_supported.qout",
"new_qchem_files/lebdevpts.qout",
"new_qchem_files/Optimization_no_equal.qout",
"new_qchem_files/2068.qout",
"new_qchem_files/2620.qout",
Expand Down

0 comments on commit 06d270c

Please sign in to comment.