Is there a method in libSBML that can be used to automatically add a missing modifiers section to an SBML model? There was one on SBW which was sometimes quite useful.Herbert Sauro
--
You received this message because you are subscribed to the Google Groups "libsbml-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libsbml-develop...@googlegroups.com.
To post to this group, send email to libsbml-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/libsbml-development/40f4dc93-c1f8-4e31-a05c-800cd58259d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To answer your initial question, no there is no inbuilt method of libsbml that would do it for you. However, since this has come up several time (I do recall reimplementing that method again several times), we could easily provide a converter in libsbml to do that.
I’ll contribute the bit of code before the next release. After that it would work like so:
doc = readSBML(infile)
props = ConversionProperties()
props.addOption("add missing modifiers", True)
doc.convert(props)
Cheers
Frank
To view this discussion on the web visit https://groups.google.com/d/msgid/libsbml-development/CAEFQOCW%2BWnriTnngMh%3DcgewJokNVH13v3aC%3DNbb-oRQbhL9WYw%40mail.gmail.com.
Is there a method in libSBML that can be used to automatically add a missing modifiers section to an SBML model? There was one on SBW which was sometimes quite useful.Herbert Sauro
--
To view this discussion on the web visit https://groups.google.com/d/msgid/libsbml-development/089701d47094%246af7ea50%2440e7bef0%24%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
About the static library, I believe we should just stop distributing it altogether. It is only useful for the visual studio version it was compiled with. And as such is not useful to many people. For personal use I always use the dependency libraries we provide:
https://sourceforge.net/projects/sbml/files/libsbml/win-dependencies/
and then compile libsbml with the options that I need (the IMO correct xml parser that ought to be used + the combination of packages that I deem necessary + safe to use). As it stands the sbml-team cannot provide all the different configuration options that might apply to all.
For the time being compiling the right flavor of libsbml for c++ is the expected use of the library. For python on the other hand you should be fine with selecting either python-libsbml or python-libsbml-experimental from pypi.
Best
Frank
To view this discussion on the web visit https://groups.google.com/d/msgid/libsbml-development/CAEFQOCVGozxS2x1P8QX4oi32hDqbzSA_p95-3DtvsJbK5i-%3D9Q%40mail.gmail.com.