def anEndSection(self, token): BaseParser.anEndSection(self, token) if self._thermoAll: species = self._mechanism.species() candidates = [] for s in species: if not s.thermo: candidates.append(s.symbol) if candidates: msg = "no species information for the folowing species: %s" % candidates self.onWarning(msg, self.locator()) return 1