diff --git a/interfaces/cython/cantera/ck2cti.py b/interfaces/cython/cantera/ck2cti.py index 008960213..a5d58a808 100644 --- a/interfaces/cython/cantera/ck2cti.py +++ b/interfaces/cython/cantera/ck2cti.py @@ -952,6 +952,11 @@ class Parser(object): composition2 = self.parseComposition(elements, len(elements)//10, 10) composition.update(composition2) + if not composition: + raise InputParseError("Error parsing elemental composition for " + "species '{0}'".format(species)) + + # Construct and return the thermodynamics model thermo = MultiNASA( polynomials=[