EnzymeML / PyEnzyme

🧬 - Data management and modeling framework based on EnzymeML.
BSD 2-Clause "Simplified" License
21 stars 9 forks source link

Support SpeciesReference without SBOTerm #19

Closed JR-1991 closed 2 years ago

JR-1991 commented 2 years ago

Currently the refactored version from https://github.com/EnzymeML/PyEnzyme/tree/Refactoring does not support EnzymeML documents without SBOTerms in SpeciesReferences.

https://github.com/EnzymeML/PyEnzyme/blob/399e3cfc9f469f28aa0cd1f584eeb35609591563/pyenzyme/enzymeml/tools/enzymemlreader.py#L464

JR-1991 commented 2 years ago

Fields without an SBOTerm in the SBML document are now parsed to the default values when read.

https://github.com/EnzymeML/PyEnzyme/blob/d6cc9bcddeefc1d0b8805aa426d3ce3c25e8564e/pyenzyme/enzymeml/tools/enzymemlreader.py#L185-L194