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 xml serialization feature #33

Closed mqnifestkelvin closed 1 year ago

mqnifestkelvin commented 1 year ago

hello mentors, PLS NOTE:

I made a previous pull request last week but as a result of the outcome of the meeting held on Tuesday, I had to take it down and reimplement the changes and corrections such as creating various PR for different additions as well as using different branches for different feature additions.

Additions made includes 1) to_xml 2) from_xml 3) to_xml_file 4) from_xml_file 5) load_xml 6) save_to_xml_file

pgleeson commented 1 year ago

Thanks @mqnifestkelvin. I've enabled the tests via GitHub Actions on these PRs, see https://github.com/ModECI/modelspec/actions. See the info here on pre-commit checks which will help solve the failing tests due to fomatting: https://mdf.readthedocs.io/en/latest/api/Contributing.html#step-7