Skip to content

Commit

Permalink
f! plotter
Browse files Browse the repository at this point in the history
  • Loading branch information
alongd committed Oct 11, 2023
1 parent 9bb63ef commit fbf4f1c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions arc/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -951,10 +951,11 @@ def save_conformers_file(project_directory: str,
if im_freqs is not None and im_freqs[i] is not None:
content += f'Imaginary frequencies: {im_freqs[i]}\n'
if min_e is not None:
if energies[i] == min_e:
content += 'Relative Energy: 0 kJ/mol (lowest)'
elif energies[i] is not None:
content += f'Relative Energy: {energies[i] - min_e:9.3f} kJ/mol'
if energies is not None and i < len(energies):
if energies[i] == min_e:
content += 'Relative Energy: 0 kJ/mol (lowest)'
elif energies[i] is not None:
content += f'Relative Energy: {energies[i] - min_e:9.3f} kJ/mol'
else:
# Failed to converge
if is_ts and ts_methods is not None:
Expand Down

0 comments on commit fbf4f1c

Please sign in to comment.