SloppyCell :: ReactionNetworks :: Reactions :: Reaction :: Class Reaction
[hide private]

Class Reaction

source code

Instance Methods [hide private]
 
__init__(self, id, stoichiometry, kineticLaw='', name='', reactant_stoichiometry=None, product_stoichiometry=None) source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
doKwargsSubstitution(self, kwargs) source code
 
change_stoichiometry(self, species, stoich)
Change stoichiometry will update self.stoichiometry.
source code
Method Details [hide private]

change_stoichiometry(self, species, stoich)

source code 

Change stoichiometry will update self.stoichiometry.
It also updates self.reactant_stoichiometry and self.product_stoichiometry,
if they are defined, to keep the two stoichiometry tracking systems in sync.