Metadata-Version: 2.4
Name: mbfxml2ex
Version: 0.8.2
Summary: Python library for generating Ex format model descriptions from MBF XML formatted data.
Author-email: Hugh Sorby <h.sorby@auckland.ac.nz>
License-Expression: Apache-2.0
Keywords: Medical,Physiology,Mesh,Finite Element,Convert,Neuroscience
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: cmlibs.utils>=0.6
Requires-Dist: cmlibs.zinc>=4.1
Provides-Extra: test
Requires-Dist: coverage; extra == "test"
Requires-Dist: packaging; extra == "test"
Requires-Dist: pytest; extra == "test"
Dynamic: license-file


MBF XML 2 Ex
============

This program converts MBF XML to Ex format suitable for CMLibs-Zinc.


Install
-------

::

  pip install mbfxml2ex

Usage
-----

::

  mbfxml2exconverter /path/to/input.xml

For more information use the help::

  mbfxml2exconverter --help

Developing
----------

When developing install the required packages for running the tests with::

  pip install .[test]

Then run the tests with::

  python -m unittest discover -s tests

from the repository root directory.

To see the coverage statistics for the package run::

  coverage run --source=mbfxml2ex -m unittest discover -s tests

For a nice HTML rendering of the coverage statistics run::

  coverage html -d html.cover

To view the HTML coverage output::

  python -m http.server 9432 -d html.cover

Then, in a web browser navigate to http://localhost:9432
