Attached SBML model fails to load. It causes a segfault.
~~~~~
assertion=assertion@entry=0x7ffff4f2371e "base_ != Id()",
file=file@entry=0x7ffff4f236f0 "/data/dilawars/moose3.0.1/sbml/SbmlReader.cpp", line=line@entry=111,
function=function@entry=0x7ffff4f23f40 <SbmlReader::read(std::string, std::string, std::string)::__PRETTY_FUNCTION__> "Id SbmlReader::read(std::string, std::string, std::string)") at assert.c:92
file=0x7ffff4f236f0 "/data/dilawars/moose3.0.1/sbml/SbmlReader.cpp", line=111,
function=0x7ffff4f23f40 <SbmlReader::read(std::string, std::string, std::string)::__PRETTY_FUNCTION__> "Id SbmlReader::read(std::string, std::string, std::string)") at assert.c:101
at /data/dilawars/moose3.0.1/sbml/SbmlReader.cpp:111
at /data/dilawars/moose3.0.1/shell/Shell.cpp:457
at /data/dilawars/moose3.0.1/pymoose/moosemodule.cpp:1516
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdc58) at libc-start.c:287
~~~~~~
Checkin: 6779
Anonymous
Equivalent annotated genesis model is working fine; except for
~~~~
Warning: ZombieEnz:setSolver: Dangling Enz, missing a substrate or product
~~~~~
problem.
Last edit: dilawars 2015-06-24
Last edit: dilawars 2015-07-09
I installed libSBML-5.11.0. Still running into seg faults. Do I need to install a specific version of SBML. If yes, it needs to be reflected in dependencies else SBMLReader will break.
Also acc4.xml does not seem to be in trunk branch. There is no way I can compare the this file. Online SBML validator http://sbml.org/Facilities/Validator/index.jsp) does not like the acc4.xml file on doqcs.
Moose supports libSBML 5.9.0 (compiled with libxml2)
This is mentioned in the README.md file, at least since kheer kadam release.
Also, the SBML file you obtained from DOQCS corresponds to L2V1 sbml version. In moose we support SBML L3V1 only.
"Online SBML validator http://sbml.org/Facilities/Validator/index.jsp) does not like the acc4.xml file on doqcs" - because it validates for l2v4.
From now onwards use sbml files corresponding to L3V1 and use L3V1 validator only.
To convert models to SBML L3V1 version, load the corresponding genesis file in moose and use moose.writeSBML to export to SBML L3V1 format. Then you can read it back in moose using moose.readSBML