Developing MRTwin#
Developement environment#
We recommend to use a virtual environement (e.g., Conda), and install mrtwin and its dependencies in it.
Running tests#
Test suite can be executed as
cd mrtwin
pip install -e .[test]
pytest .
Writing documentation#
Documentation is available online at INFN-MRI/mrtwin
It can also be built locally
cd mrtwin
pip install -e .[doc]
python -m sphinx docs docs_build
To view the html doc locally you can use
python -m http.server --directory docs_build 8000
And visit localhost:8000 on your web browser.