Пример #1
0
    def __init__(self, id=None, formula=None, name="",
                 charge=None, compartment=None):
        Species.__init__(self, id, name)
        self.formula = formula
        # because in a Model a metabolite may participate in multiple Reactions
        self.compartment = compartment
        self.charge = charge

        self._bound = 0.
Пример #2
0
    def __init__(self, id=None, formula=None, name="",
                 charge=None, compartment=None):
        Species.__init__(self, id, name)
        self.formula = formula
        # because in a Model a metabolite may participate in multiple Reactions
        self.compartment = compartment
        self.charge = charge

        self._constraint_sense = 'E'
        self._bound = 0.
Пример #3
0
 def __init__(self, id=None, name="", functional=True):
     Species.__init__(self, id=id, name=name)
     self.functional = functional
Пример #4
0
 def __init__(self, id=None, name="", functional=True):
     Species.__init__(self, id=id, name=name)
     self._functional = functional