17.1.1.1.1.12. cobra.core.species¶

17.1.1.1.1.12.1. Module Contents¶

17.1.1.1.1.12.1.1. Classes¶

 Species Species is a class for holding information regarding
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.

property reactions(self)[source]
__getstate__(self)[source]

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

copy(self)[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

property model(self)[source]