rbatools.density_constraint_block API documentation

rbatools.density_constraint_block module

Classes

class DensityConstraintBlock (ancestors: InformationBlock)

Class holding information on the constraints regarding the compartment-densities 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' : density constraint ID in model (type str) 'AssociatedCompartment' : ID of compartment this constraint defines the capacity for (type str) 'Type' : Equality or inequality (type str) 'CapacityParameterID' : ID of density parameter (type str) 'CapacityParameter' : Definition of capacity parameter (type dict) See doc string of rbatools.rba_Session.RBA_Session.get_parameter_definition method

Methods

def from_files(self, model, Cs, matrix)