15.1.1.3.1.5. cobra.io.sbml3¶
15.1.1.3.1.5.1. Module Contents¶
-
class
cobra.io.sbml3.Basic¶
-
cobra.io.sbml3.extract_rdf_annotation(sbml_element, metaid)¶
-
cobra.io.sbml3.clip(string, prefix)[source]¶ clips a prefix from the beginning of a string if it exists
>>> clip("R_pgi", "R_") "pgi"
-
cobra.io.sbml3.validate_sbml_model(filename, check_model=True)[source]¶ Returns the model along with a list of errors.
Parameters: Returns: - model (
Modelobject) – The cobra model if the file could be read succesfully or None otherwise. - errors (dict) – Warnings and errors grouped by their respective types.
Raises: CobraSBMLError– If the file is not a valid SBML Level 3 file with FBC.- model (