fbc
COBRA to SBML Level 3 'fbc' converter.
def libsbml.CobraToFbcConverter.getDefaultProperties |
( |
|
self | ) |
|
Returns the default properties of this converter.
getDefaultProperties() ConversionProperties
A given converter exposes one or more properties that can be adjusted in order to influence the behavior of the converter. This method returns the default property settings for this converter. It is meant to be called in order to discover all the settings for the converter object.
The properties for the CobraToFbcConverter are: 'convert cobra' - the name of this converter
- Returns
- the ConversionProperties object describing the default properties for this converter.
def libsbml.SBMLConverter.getTargetNamespaces |
( |
|
self | ) |
|
|
inherited |
Returns the target SBML namespaces of the currently set properties.
getTargetNamespaces() SBMLNamespaces
SBML namespaces are used by libSBML to express the Level+Version of the SBML document (and, possibly, any SBML Level 3 packages in use). Some converters' behavior is affected by the SBML namespace configured in the converter. For example, in SBMLLevelVersionConverter (the converter for converting SBML documents from one Level+Version combination to another), the actions are fundamentally dependent on the SBML namespaces targeted.
- Returns
- the SBMLNamespaces object that describes the SBML namespaces in effect, or
None
if none are set.
def libsbml.SBMLConverter.setDocument |
( |
|
self, |
|
|
|
doc |
|
) |
| |
|
inherited |
This method has multiple variants; they differ in the arguments they accept.
setDocument(SBMLDocument doc) int
Each variant is described separately below.
Method variant with the following signature: setDocument(SBMLDocument doc)
Sets the SBML document to be converted.
- Parameters
-
doc | the document to use for this conversion. |
- Returns
- integer value indicating the success/failure of the operation. The set of possible values that may be returned ultimately depends on the specific subclass of SBMLConverter being used, but the default method can return the following:
Method variant with the following signature: setDocument(SBMLDocument doc)
Sets the SBML document to be converted.
- Parameters
-
doc | the document to use for this conversion. |
- Returns
- integer value indicating the success/failure of the operation. The set of possible values that may be returned ultimately depends on the specific subclass of SBMLConverter being used, but the default method can return the following: