No timestamp when creating SEDML
Paraphrased Human-Readable Adaptation of SED-ML
Brought to you by:
ckiri0315,
luciansmith
Is it possible to not write timestamps in the headers of the files:
<!-- Created by phraSED-ML version v1.0.1 on 2016-03-08 12:19 with libSBML version 5.12.1. -->
or provide an option to create the file without timestamp.
I create a large amount of files on the fly with antimony and phrasedml which are managed in repositories. Due to the timestamps every commit has 100s of files, because all the changes in the timestamps are part of the commits. Even if nothing changed.
I also wrote timestamps & model histories before, but it created more problems than it was useful. Having the files in a repository is a much better solution and one can always access the exact time of creation/modification.
Much more usefull information is the commit hash/version which was used to build the version of phrasedml.
Before every tellurium commit I run all the tests and the tests create many SEDML/SBML files via antimony/phrasedml. So every of my commits to tellurium is full of timestamp changes.
See for instance
https://github.com/sys-bio/tellurium/commit/ec8422b397d1b1c49516165c8d5ce36384fdc93c
with all sedx and sedml changes due to timestamps
Last edit: Matthias König 2016-03-08
This is something that libSEDML does automatically. If you can get Frank to add in an option to the SEDML writer to suppress writing the timestamp, I'd be happy to use it in phrasedml.
Will file the issue with libSEDML.
Thanks.
https://github.com/fbergmann/libSEDML/issues/24
Moving on to
https://groups.google.com/forum/#!topic/libsbml-development/Yy78LSwOHzU
Can be closed. Is an SBML issue.
Now that libSBML allows this (and, via it, libSEDML), SVN now will not write out the timestamps by default, and provides a function to let the user set it one way or the other, should they wish.
Hi Lucian,
builds, but when trying to import the python bindings I get undefined symbols
This was caused by a mismatch in function names between the header file and the .cpp file, which is now fixed. Thanks!
Everything working. Finally no more timestamps ;)
This can be closed.