rbatools.metabolite_constraint_block API documentation

rbatools.metabolite_constraint_block module

Classes

class MetaboliteConstraintBlock (ancestors: InformationBlock)

Class holding information on the constraints regarding the metabolites in the model.

Attributes

Elements : dict
Each model metabolite-constraint is represented by a key. The values, holding information on each process-constraint, are dicts with predefined keys: 'ID' : metabolite ID in model (type str) 'AssociatedMetabolite' : ID of metabolite this constraint defines the mass-balance for (same as key) (type str) 'Type' : Equality or inequality (type dict)

Methods

def from_files(self, Cs, matrix)