Conserved Moiety Conversion

class RoadRunner.PyConservedMoietyConverter

Create a new conserved moiety converter.

PyConservedMoietyConverter.setDocument(sbmlOrURI)

Sets the source document. This may be either the contents of an sbml docment as a string, or the path the the file.

Parameters

sbmlOrURI (str) – contents or path of source document

Returns

an integer indicating success or failure, 0 means success.

Return type

int

PyConservedMoietyConverter.convert()

Perform the document conversion.

Returns

an integer indicating success or failure, 0 means success.

Return type

int

PyConservedMoietyConverter.getDocument()

Get the converted document contents.

Returns

The contents of the converted document, or empty string if there is no source document.