Closed matthiaskoenig closed 2 years ago
I read the L2 specs in such a way, that at least the created field is required for the fixed sbml / annotation format. That formulation is different in the L3 specs. So i think it would be fine to at least relax the requirement, that a modification date is present. And I would be fine with relaxing the requirement for the creation date being present to before level 3 only.
@fbergmann Relaxing these for SBML Level 3 would solve my issues. I am not using any SBML level 2.
Thanks this is great.
Hi all, the libsbml library enforces to write the
createdDate
andmodifiedDate
on theModelHistory
because they are required fields. To be able to write the history element (to encode the creators) one has to add dummy information for this fields. Because I don't want any git diffs on my models on recreation but still write the creators I have to add the following block to every history I create to be able to set the history.To my knowledge it does not state anywhere that these fields should be required so it would be great if these could be optional to only store the creators.
In addition such information will be more and more encoded in omex-meta, so it should be possible to only store subsets of the metadata in SBML.
Best Matthias
Full example of typical ModelHistory.