sbmlutils.examples.fbc.fbc_version3
¶
Test bed for FBC version 3.
For latest SBML fbc v3 specification see https://github.com/bgoli/sbml-fbc-spec/blob/main/sf_svn/spec/main.pdf
Module Contents¶
Functions¶
|
Check the libsbml return value and prints message if something happened. |
Attributes¶
- sbmlutils.examples.fbc.fbc_version3.check(value, message)[source]¶
Check the libsbml return value and prints message if something happened.
- If ‘value’ is None, prints an error message constructed using
‘message’ and then exits with status code 1. If ‘value’ is an integer, it assumes it is a libSBML return status code. If the code value is LIBSBML_OPERATION_SUCCESS, returns without further action; if it is not, prints an error message constructed using ‘message’ along with text from libSBML explaining the meaning of the code, and exits with status code 1.
- Parameters
value (int) –
message (str) –
- Return type
bool