sbmlsim.combine.sedml.io

Template functions to run the example cases.

Module Contents

Functions

check_sedml(doc)

Checks the SedDocument for errors.

read_sedml(source, working_dir = None)

Parses SedMLDocument from given input.

Attributes

logger

INPUT_TYPE_STR

INPUT_TYPE_FILE_SEDML

INPUT_TYPE_FILE_COMBINE

sbmlsim.combine.sedml.io.logger[source]
sbmlsim.combine.sedml.io.INPUT_TYPE_STR = SEDML_STRING[source]
sbmlsim.combine.sedml.io.INPUT_TYPE_FILE_SEDML = SEDML_FILE[source]
sbmlsim.combine.sedml.io.INPUT_TYPE_FILE_COMBINE = COMBINE_FILE[source]
sbmlsim.combine.sedml.io.check_sedml(doc)[source]

Checks the SedDocument for errors.

Parameters

doc (libsedml.SedDocument) – SedDocument.

Return type

str

sbmlsim.combine.sedml.io.read_sedml(source, working_dir=None)[source]

Parses SedMLDocument from given input.

Returns

dictionary of SedDocument, input_type and working directory.

Parameters
  • source (Union[pathlib.Path, str]) –

  • working_dir (pathlib.Path) –

Return type

Dict