Species

class modules.gemtractor.network.species.Species(identifier, name)[source]

Bases: object

a species in a metabolite-reaction network

Parameters:
  • identifier – the species’ id
  • name – the species’ name
serialize()[source]

serialize to a JSON-dumpable object

the object will contain the following information:

  • id: the species’ identifier
  • name: the species’ name
  • occ: in which reactions does the species occur?
Returns:JSON-dumpable object
Return type:dict