-
-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
#265 adds support for ModelHistory without dates in L3V2.
However, when running the addModelHistory.c example with the parts adding the dates commented out on a L3V2 SBML file, we still get the following output: Set model history: invalid object.
The reason for that is that ModelHistory::hasRequiredAttributes is called on a model history which does not have a parent SBML object (yet) so we are falling in the level < 3 branch here:
libsbml/src/sbml/annotation/ModelHistory.cpp
Line 382 in 226c867
| if (parent == NULL || parent->getLevel() < 3) |
eltix
Metadata
Metadata
Assignees
Labels
No labels