Fixed an issue with printing "missing species" errors in ck2cti.py
This commit is contained in:
parent
548749d080
commit
6df63270e0
1 changed files with 1 additions and 1 deletions
|
|
@ -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]))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue