autoreduce.utils.sbml.add_reaction
- add_reaction(model, species, kinetic_law, reaction_id, all_species)[source]
Add reaction to given model
- Parameters:
model (libsbml.Model) – SBML model object
species (str) – Species name
kinetic_law (str) – Kinetic law for the species in the ODE with sympy Symbols
reaction_id (str) – Reaction identifier string
all_species (list) – List of all species in System
- Returns:
SBML Model object
- Return type:
libsbml.Model