Table of Contents

Class: System Bio/Pathway/__init__.py

Abstraction for a collection of reactions.

This class is used in the Bio.Pathway framework to represent an arbitrary collection of reactions without explicitly defined links.

Attributes:

None

Methods   
__init__
__repr__
__str__
add_reaction
reactions
remove_reaction
species
stochiometry
  __init__ 
__init__ ( self,  reactions=[] )

Initializes a new System object.

  __repr__ 
__repr__ ( self )

Returns a debugging string representation of self.

  __str__ 
__str__ ( self )

Returns a string representation of self.

  add_reaction 
add_reaction ( self,  reaction )

Adds reaction to self.

  reactions 
reactions ( self )

Returns a list of the reactions in this system.

  remove_reaction 
remove_reaction ( self,  reaction )

Removes reaction from self.

  species 
species ( self )

Returns a list of the species in this system.

  stochiometry 
stochiometry ( self )

Computes the stoichiometry matrix for self.

Returns (species, reactions, stoch) where

species = ordered list of species in this system reactions = ordered list of reactions in this system stoch = 2D array where stoch[i][j] is coef of the jth species in the ith reaction, as defined by species and reactions above


Table of Contents

This document was automatically generated on Mon Jul 1 12:03:09 2002 by HappyDoc version 2.0.1