[ck2cti] Add extra info about handling of extra thermo parameters

See Issue 199.
This commit is contained in:
Bryan W. Weber 2014-01-06 18:46:55 +00:00
parent e3ab2dbf8a
commit b5c2881f64

View file

@ -1443,7 +1443,8 @@ class Parser(object):
species = self.speciesDict[label]
# use the first set of thermo data found
if species.thermo is not None:
self.warn('Found additional thermo entry for species {0}'.format(label))
self.warn('Found additional thermo entry for species {0}. '
'If --permissive was given, the first entry is used.'.format(label))
else:
species.thermo = thermo
species.composition = comp
@ -1479,7 +1480,8 @@ class Parser(object):
species = self.speciesDict[label]
# use the first set of thermo data found
if species.thermo is not None:
self.warn('Found additional thermo entry for species {0}'.format(label))
self.warn('Found additional thermo entry for species {0}. '
'If --permissive was given, the first entry is used.'.format(label))
else:
species.thermo = thermo
species.composition = comp