biocrnpyler.utils.units

Functions

biocrnpyler_supported_units()

create_new_unit_definition(model, unit_id)

Creates UnitDefinition inside SBML Model object.

biocrnpyler.utils.units.create_new_unit_definition(model, unit_id)[source]

Creates UnitDefinition inside SBML Model object.

Parameters:
modellibsbml.Model
unit_idstr
Returns:
libsbml.UnitDefinition

A pointer to the new libSBML object created for the unit type.