From: David N. <dav...@gm...> - 2016-12-20 08:26:53
|
HI Nisha, You can use annotations in SED-ML, see the "annotation" element in the SED-ML specification. If you are using the C++ libSEDML, you can see an example dealing with annotations in the 'print_sedml` example (https://github.com/fbergmann/libSEDML/blob/master/examples/c%2B%2B/print_sedml.cpp). If you are using a different library providing the getNumChildren() method you'll need to provide some details. As far as I know, the libSBML ASTNode objects and methods are only used by libSEDML to handle the MathML in SED-ML. Cheers, David. On Tue, Dec 20, 2016 at 8:25 PM, Nisha Viswan <ni...@nc...> wrote: > Dear all, > > I would like to know whether custom-annotation-tags can be used in SEDML, > just like in SBML. I found ASTNode functions work well for > custom-annotations in SBML files but not in SEDML(L1V1). > For example, when I use getNumChildren() for custom-annotations, I get a > random number in SEDML (huge number) but it works fine for SBML files. > > I am not sure whether I am missing something very obvious, and I would > really appreciate if somebody could help out with a direct fix or any other > solution to overcome this. > > Regards, > Nisha Viswan > > > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/intel > _______________________________________________ > SED-ML-discuss mailing list > SED...@li... > https://lists.sourceforge.net/lists/listinfo/sed-ml-discuss > -- David Nickerson about.me/david.nickerson |