[Input] Fix handling of skip_undeclared_third_bodies in cti2yaml

This commit is contained in:
Ray Speth 2019-10-29 14:54:53 -04:00 committed by Bryan W. Weber
parent 69393e9307
commit bddb339198

View file

@ -1098,6 +1098,9 @@ class phase:
if 'skip_undeclared_elements' in self.options:
out['skip-undeclared-elements'] = True
if 'skip_undeclared_third_bodies' in self.options:
out['skip-undeclared-third-bodies'] = True
# Convert reaction pattern matching to use of multiple reaction sections
for i in range(len(self.reactions)):
spec = self.reactions[i][1]