You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Estimating thermo of an adsorbate Species now re-orders Species.molecule.
We do this in the gas phase, so now also adsorbates:
If you have a Species with multiple Molecules (resonance structures)
then the list of Molecules gets re-ordered when you estimate the thermo
so that the most stable (lowest H298) goes first.
This will then be used for drawing pictures, printing SMILES strings, etc.
which might mean it's no the one that you started with.
This may surprise some people in some situations, but I think is the
way the gas phase works, and it has some benefits, especially for
machine-generated species.
One thing we don't yet do in adsorbates is prioritize resonance structures coming
from thermo libraries, over those that are merely estimated.
Not sure of the consequences of this.
Other changes in this commit are mostly for clarity.
raiseRuntimeError(f"Cannot get thermo for gas-phase molecule. No valid dummy molecules from original molecule:\n{molecule.to_adjacency_list()}")
1593
1590
1594
-
# if len(molecule) > 1, it will assume all resonance structures have already been generated when it tries to generate them, so evaluate each configuration separately and pick the lowest energy one by H298 value
1591
+
# if len(molecule) > 1, it will assume all resonance structures
1592
+
# have already been generated when it tries to generate them, so
1593
+
# evaluate each configuration separately and pick the lowest energy
0 commit comments