SBML
momapy.sbml.io.sbml
Classes for reading SBML files.
Modules:
| Name | Description |
|---|---|
reader |
SBML reader with ReadingContext dataclass. |
Classes:
| Name | Description |
|---|---|
SBMLReader |
|
SBMLReader
Bases: Reader
Methods:
| Name | Description |
|---|---|
check_file |
Check if this reader supports the given file. |
read |
Read a file and return the result. |
check_file
classmethod
Check if this reader supports the given file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_path
|
str | PathLike
|
Path of the file to check. |
required |
Returns:
| Type | Description |
|---|---|
bool
|
True if the file is supported by this reader. |
read
classmethod
read(file_path: str | PathLike, with_annotations=True, with_notes=True) -> ReaderResult
Read a file and return the result.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_path
|
str | PathLike
|
Path of the file to read. |
required |
options
|
Any
|
Reader-specific options. |
{}
|
Returns:
| Type | Description |
|---|---|
ReaderResult
|
ReaderResult containing the read object. |