Fix syntax error in a Python example
This commit is contained in:
parent
6d4540435e
commit
7d2e3813eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue