ModelPolisher
ModelPolisher copied to clipboard
Reactions and Species without IDs are deleted from the model
Per the specification 3.1 (and 3.2 for that matter) the ID attribute is mandatory on both entities.
I.e. if an ID is missing, the SBML is not valid.
In an effort to separate any "garbage in" logic from the polishing and annotation modules, this is unwanted behavior.
Instead, a "fixing" module should deal with this case. Instead of removing an element without an ID in this context however, it should be provided one.
- remove behavior from reaction polishing
- introduce behavior to provide missing ids in fixing module