Skip to content

Store SBML meta information (level, version, packages, provenance) #810

@Midnighter

Description

@Midnighter

Hey @opencobra/cobrapy-core,

I'd like to store some meta information about the SBML that was parsed:

  1. level
  2. version
  3. packages used (fbc, annotation, groups)

The big question is where to store that information and I'd like your opinions. Current ideas, either

  1. Create a new attribute on the model cobra.Model.sbml_info that could be a tuple (level: int, version: int, packages: Tuple[str]).
  2. Create a new cobra.Model.meta attribute which would allow for some more general information later. It could be a dictionary and model.meta["SBML"] could contain above information.

Curious what you think and if you have any other ideas about this 😃

Metadata

Metadata

Labels

SBMLRelated to reading and writing SBML models.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions