Skip to content

Commit 2d78555

Browse files
committed
Add thermo comment for solvation adjustments.
Reports how much the thermo has been changed by solvation corrections.
1 parent d9225f3 commit 2d78555

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rmgpy/thermo/thermoengine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def process_thermo_data(spc, thermo0, thermo_class=NASA, solvent_name=''):
7070
# correction is added to the entropy and enthalpy
7171
wilhoit.S0.value_si = (wilhoit.S0.value_si + solvation_correction.entropy)
7272
wilhoit.H0.value_si = (wilhoit.H0.value_si + solvation_correction.enthalpy)
73-
wilhoit.comment += ' + Solvation correction with {} as solvent and solute estimated using {}'.format(solvent_name, solute_data.comment)
73+
wilhoit.comment += f' + Solvation correction (H={solvation_correction.enthalpy/1e3:+.0f}kJ/mol;S={solvation_correction.entropy:+.0f}J/mol/K) with {solvent_name} as solvent and solute estimated using {solute_data.comment}'
7474

7575
# Compute E0 by extrapolation to 0 K
7676
if spc.conformer is None:

0 commit comments

Comments
 (0)