Skip to content

Commit 3fbf75a

Browse files
committed
Correction to commit bd8da7b
1 parent f959210 commit 3fbf75a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rmgpy/rmg/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def generateThermoData(self, database, thermoClass=NASA, quantumMechanics=None):
124124
tdata = database.thermo.estimateRadicalThermoViaHBI(molecule, quantumMechanics.getThermoData)
125125
if tdata is not None:
126126
thermo.append(tdata)
127-
if thermo is not None:
127+
if thermo:
128128
H298 = numpy.array([t.getEnthalpy(298.) for t in thermo])
129129
indices = H298.argsort()
130130
for i, ind in enumerate(indices):

0 commit comments

Comments
 (0)