Create HTML output of NIDM-Results files (In an FSL-like format).
As the viewer requires the CSS styling for FSL output pages and recreates FSL displays, it assumes FSL (version 5.0 or above) is installed. Full installation details for fsl are found here:
https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FslInstallation
$ nidmviewerfsl -h
usage: nidmviewerfsl [-h] [--d] [--w] nidmFile outFolder
NIDM-Results Viewer
positional arguments:
nidmFile NIDM-Results pack
outFolder Destination folder for HTML pages
optional arguments:
-h, --help show this help message and exit
--d Overwrite output folder if it already exists
--w Open display once generated.
The viewer can be installed via pip through:
pip install https://github.com/incf-nidash/nidmresults-fslhtml.git@master
Alternatively, instalation is possible via cloning from github like so:
git clone https://github.com/incf-nidash/nidmresults-fslhtml.git
And then running the setup.py
file as follows:
python setup.py
To run the tests from the commandline use the following commands:
python nidmviewerfsl/tests/test_fslViewer.py
python nidmviewerfsl/tests/testError.py
The output of the tests will appear in the folders given in nidmviewerfsl/tests/data
.