Skip to content

Commit a6a809e

Browse files
committed
If E0 is not None (e.g., given directly by the user), use it
1 parent 773b112 commit a6a809e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arkane/statmech.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ def create_log(log_path, check_for_errors=True):
688688
# Set the difference as the isodesmic EO correction
689689
e_electronic_with_corrections += isodesmic_thermo.value_si - uncorrected_thermo
690690

691-
e0 = e_electronic_with_corrections + zpe
691+
e0 = e_electronic_with_corrections + zpe if e0 is None else e0
692692
logging.debug(' E0 (0 K) = {0:g} kcal/mol'.format(e0 / 4184.))
693693
conformer.E0 = (e0 * 0.001, "kJ/mol")
694694

0 commit comments

Comments
 (0)