Fix syntax error in a Python example

This commit is contained in:
Bryan W. Weber 2015-08-02 13:46:14 -04:00 committed by Ray Speth
parent 0b5a46fe03
commit eb2df78260

View file

@ -38,7 +38,7 @@ print('Species: {0}'.format(', '.join(S.name for S in species)))
all_reactions = ct.Reaction.listFromFile('gri30.xml')
reactions = []
print '\nReactions:'
print('\nReactions:')
for R in all_reactions:
if not all(reactant in species_names for reactant in R.reactants):
continue