15.1.1.1.1.9. cobra.core.species

15.1.1.1.1.9.1. Module Contents

class cobra.core.species.Species(id=None, name=None)[source]

Species is a class for holding information regarding a chemical Species

Parameters:
  • id (string) – An identifier for the chemical species
  • name (string) – A human readable name.
__init__(id=None, name=None)[source]
reactions()
__getstate__()[source]

Remove the references to container reactions when serializing to avoid problems associated with recursion.

copy()[source]

When copying a reaction, it is necessary to deepcopy the components so the list references aren’t carried over.

Additionally, a copy of a reaction is no longer in a cobra.Model.

This should be fixed with self.__deepcopy__ if possible

model()