Fixed an issue with printing "missing species" errors in ck2cti.py

This commit is contained in:
Ray Speth 2012-08-15 15:18:52 +00:00
parent 548749d080
commit 6df63270e0

View file

@ -999,7 +999,7 @@ def readKineticsEntry(entry, speciesDict, energyUnits, moleculeUnits):
if species == 'M' or species == 'm':
thirdBody = True
elif species not in speciesDict:
raise InputParseError('Unexpected species "{0}" in reaction {1}.'.format(reactant, reaction))
raise InputParseError('Unexpected species "{0}" in reaction {1}.'.format(species, reaction))
else:
dest.append((stoichiometry, speciesDict[species]))