Skip to content

Commit

Permalink
Save trajectory if scf fails along way.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgt16-LANL committed May 10, 2024
1 parent 1d4bb22 commit 2d13f8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions architector/io_calc.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ def calculate(self):
self.successful = True
except Exception as e:
self.errors.append(e)
if self.parameters['save_trajectories']:
self.read_traj()
if self.parameters['debug']:
print('Warning - method did not converge!',e)
print('Mol XTB Charge {} Spin {}\n'.format(self.mol.xtb_charge,self.mol.xtb_uhf))
Expand Down

0 comments on commit 2d13f8c

Please sign in to comment.