Skip to content

Commit

Permalink
Warn when discarding comments from chemkin file being read.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwest authored and connie committed Jul 3, 2015
1 parent 44c7933 commit bd812db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rmgpy/chemkin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,7 @@ def readReactionsBlock(f, speciesDict, readComments = True):
if kineticsList[0] == '':
kineticsList.pop(0)
if len(kineticsList) != len(commentsList):
logging.warning("Discarding comments from Chemkin file because not sure which reaction they apply to")
commentsList = ['' for kinetics in kineticsList]

reactionList = []
Expand Down

0 comments on commit bd812db

Please sign in to comment.