Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions rmgpy/data/solvation.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,8 @@ def estimateSoluteViaGroupAdditivity(self, molecule):
saturatedStruct.updateConnectivityValues()
saturatedStruct.sortVertices()
saturatedStruct.updateAtomTypes()
saturatedStruct.updateLonePairs()
saturatedStruct.multiplicity = saturatedStruct.getRadicalCount() + 1

# Get solute descriptor estimates for saturated form of structure
soluteData = self.estimateSoluteViaGroupAdditivity(saturatedStruct)
Expand Down
2 changes: 2 additions & 0 deletions rmgpy/data/thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,8 @@ def estimateRadicalThermoViaHBI(self, molecule, stableThermoEstimator ):
saturatedStruct.updateConnectivityValues()
saturatedStruct.sortVertices()
saturatedStruct.updateAtomTypes()
saturatedStruct.updateLonePairs()
saturatedStruct.multiplicity = saturatedStruct.getRadicalCount() + 1

# Get thermo estimate for saturated form of structure
thermoData = stableThermoEstimator(saturatedStruct)
Expand Down
1 change: 0 additions & 1 deletion rmgpy/rmg/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ def generateThermoData(self, database, thermoClass=NASA, quantumMechanics=None):
thermo = []
for molecule in self.molecule:
molecule.clearLabeledAtoms()
molecule.updateAtomTypes()
tdata = database.thermo.estimateRadicalThermoViaHBI(molecule, quantumMechanics.getThermoData)
if tdata is not None:
thermo.append(tdata)
Expand Down