robertvi / SBMLShowcase

OSB showcase of interactions between SBML and NeuroML
http://www.opensourcebrain.org/projects/sbmlshowcase
0 stars 1 forks source link

Issue 5 namespace errors need a libsedml based fix #7

Closed robertvi closed 4 months ago

robertvi commented 5 months ago

The namespace related errors in this issue are likely due to a missing namespace attribute near the top of the sedml file https://github.com/robertvi/SBMLShowcase/issues/5

We manually fixed this error in a single sedml file by adding the following missing attribute: xmlns:sbml="http://www.sbml.org/sbml/level2/version2" see here.

It would probably make sense to be able to programmatically add the missing attribute using libsedml if there is a suitable library function available

stellaprins commented 5 months ago

to do:

In the future: fix_sedml functionality to pynml. This is the current implementation of the "get model files" to which the fix_sedml and create_omex could be eventually added.

libraries and tools working with SED-ML can be found here

stellaprins commented 5 months ago

Can the currently set namespaces be fetched from a SED-ML file?

The BioSimulators utils library for reading, writing, validating and executing SED-ML documents could be helpful. A tutorial for the command-line interface is available here.

Relevant libSEDML issues:

Check functions getElementNamespaces getNamespaces and setNamespaces mentioned in libSEDML issue #158

stellaprins commented 5 months ago

To do