Skip to content

Commit

Permalink
Update read_file.py
Browse files Browse the repository at this point in the history
added a warning for geometry optimizations that did not converge.
  • Loading branch information
markbronsonjr authored Nov 28, 2023
1 parent d065639 commit 8acf590
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/chemPackage/ams/read_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ def read_file(self):
# Use the broad search in a set for fastest searching.
if ' SCF MODERATELY CONVERGED' == line:
print(self.filename, 'WARNING: SCF MODERATELY CONVERGED')
if 'Geometry optimization did NOT converge' == line:
print(self.filename, 'WARNING: GEOMETRY NOT CONVERGED')
if line in search_lines:
# If the line is in the first dict, store then remove from search
if line in first:
Expand Down

0 comments on commit 8acf590

Please sign in to comment.