carrascomj / rust_sbml

SBML parser + bindings to python
https://docs.rs/rust_sbml
Apache License 2.0
8 stars 4 forks source link

Feat annotation #5

Closed carrascomj closed 4 years ago

carrascomj commented 4 years ago

Description

Load basic metadata

Implementation

Parse <model> and flush its contents into a new public Annotation struct. It has to be tested for more models, because it was not very clear for me if that's always the case. An alternative would be to have a HashMap or arbitrary attributes: values in <model>, which may be more straightforward.

carrascomj commented 4 years ago

Tested with pytest tests_integration on yeastGEM. It is fine.