Biocaml_unix.SbmlSBML file parser. Currently only level 2 version 4 is supported.
type sb_math = | MApply of sb_math_operator * sb_math list| MLambda of string list * sb_math| MPiecewise of (string * sb_math) list * string| MFloatNumber of float| MIntNumber of int| MIdentifier of string| MTime| MTrue| MFalse| MNAN| MPi| MExponent| MInfinity| MNoMathtype sb_unit_definition = {unitdef_id : string;unitdef_name : string;unitdef_unitlist : sb_unit list;}type sb_species = {species_id : string;species_name : string;species_type : string;species_compartment : string;species_initialAmount : float;species_initialConcentration : float;species_substanceUnits : string;species_hasOnlySubstanceUnits : bool;species_boundaryCondition : bool;species_constant : bool;}type sb_reaction = {react_id : string;react_name : string;react_boundaryCondition : bool;react_fast : bool;react_reactants : sb_species_ref list;react_products : sb_species_ref list;react_kineticLaw : sb_kinetic_law;}type sb_rule = | RateRule of sb_generic_rule| AssignmentRule of sb_generic_rule| AlgebraicRule of sb_algebraic_ruletype sb_event = {event_id : string;event_name : string;event_useValuesFromTriggerTime : bool;event_trigger : sb_trigger;event_delay : sb_delay;event_assignments : sb_event_assignment list;}type sb_model = {sbm_id : string;sbm_name : string;sbm_functionDefinitions : sb_function_definition list;sbm_unitDefinitions : sb_unit_definition list;sbm_compartments : sb_compartment list;sbm_species : sb_species list;sbm_reactions : sb_reaction list;sbm_parameters : sb_parameter list;sbm_initialAssignments : sb_initial_assignment list;sbm_rules : sb_rule list;sbm_events : sb_event list;}val math_to_string : sb_math -> stringReturns a string with sb_math converted into a S-expression
val in_sbml : Core_kernel.In_channel.t -> sb_modelReturns an sb_model read from input stream