Learn R Programming

sybilSBML (version 3.1.2)

getSBMLerrors: Get SBML Errors

Description

Retrieve list of errors in a SBML file.

Usage

getSBMLerrors(sbmlf)

Arguments

sbmlf

An object of class '>sbmlPtr as returned by openSBMLfile. This is basically a pointer to a SBML document.

Value

If the SBML document contains errors, a list is returned:

infos

a list of infos.

warnings

a list of warnings.

errors

a list of errors.

fatals

a list of fatals.

Each elements of the lists above, is again a list:
id
A single integer value containing the error id.
line
A single integer value containing the row number of the SBML file producing the error.
column
A single integer value containing the column number of the SBML file producing the error.
message
A single character string containing the error message.
If the SBML document does not contain errors, TRUE is returned.

References

Bornstein, B. J., Keating, S. M., Jouraku, A., and Hucka M. (2008) LibSBML: An API Library for SBML. Bioinformatics 24, 880--881.

See Also

openSBMLfile, validateSBMLdocument, '>sbmlPtr