Skip to content

Commit

Permalink
[ck2cti] Clear current thermo entry after finding skipped species
Browse files Browse the repository at this point in the history
This fixes error messages generated regarding bad thermo entries to exclude
preceding skipped (but valid) thermo entries.
  • Loading branch information
speth committed Aug 30, 2016
1 parent fdd1c06 commit bd53bbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interfaces/cython/cantera/ck2cti.py
Original file line number Diff line number Diff line change
Expand Up @@ -1742,6 +1742,7 @@ def readline():
logging.info('Skipping unexpected species "{0}" while reading thermodynamics entry.'.format(label))
thermo = []
line, comment = readline()
current = []
continue
else:
# Add a new species entry
Expand Down

0 comments on commit bd53bbd

Please sign in to comment.