ModECI / modelspec

Functionality for specifying models & enabling automatic serialization - will be used by MDF & NeuroMLlite
https://modeci.github.io/modelspec/
Apache License 2.0
3 stars 9 forks source link

added simple sbml test with example xml #53

Closed robertvi closed 1 year ago

robertvi commented 1 year ago

added simple sbml test with example xml showing desired output we should be aiming to produce

run ./test_sbml3.py to launch the test

currently there seems to be no to_xml_file function available?

pgleeson commented 1 year ago

Thanks @robertvi. Changing the target of this pr to branch test_sbml, so will try it out there before merging into development.

Not sure what you mean about " there seems to be no to_xml_file function available", you use it in: sbml_doc.to_xml_file(f"{path}.xml")

robertvi commented 1 year ago

Yes I wrote the function call in but it didn't work initially for some reason. If works now, so I don't know what the problem was before.