NIDM-Results for FSL
Export mass-univariate neuroimaging results computed in FSL (using FEAT) as NIDM-Results packs.
A NIDM-Results pack is a compressed file containing a NIDM-Results serialization and some or all of the referenced image data files in compliance with NIDM-Results specification.
Usage
usage: nidmfsl [-h] [-g GROUP_NAME NUM_SUBJECTS] [-o OUTPUT_NAME] [-d]
[-n NIDM_VERSION] [--version]
feat_dir
NIDM-Results exporter for FSL Feat.
positional arguments:
feat_dir Path to feat directory.
optional arguments:
-h, --help show this help message and exit
-g GROUP_NAME NUM_SUBJECTS, --group GROUP_NAME NUM_SUBJECTS
Group label followed by number of subjects
-o OUTPUT_NAME, --output_name OUTPUT_NAME
Name of the output. A ".nidm.zip" or ".nidm" (when -d
is used) suffix will be appended.
-d, --directory-output
Produces a .nidm directory rather than a .nidm.zip
file.
-n NIDM_VERSION, --nidm_version NIDM_VERSION
NIDM-Results version to use (default: latest).
--version show program's version number and exit
Installation
To install, run the below command in the bash terminal.
pip install nidmfsl
Compatible with
FSL version 5.0.9
Testing
Requirements
To run the tests for this repository, the following must be installed
-
Git LFS. Installation instructions for Git LFS can be found here.
-
The python packages
vcrandddt. These can be installed using the below commands in the bash terminal:
pip install vcrpy
pip install ddt
In addition, the test data must also be downloaded from the nidmresults-examples repository to <path_to_this_repository>/test/data/nidmresults-examples.
git lfs clone https://github.com/incf-nidash/nidmresults-examples.git <path_to_this_repository>/test/data/nidmresults-examples
Running the tests
The below command can be used to generate the test cases.
python <path_to_this_repository>/test/export_test_battery.py
Folowing this, the test cases can be verified against the ground truth provided in the nidmresults-examples repository using the below command.
cd <path_to_this_repository>/test/
python -m unittest discover
Release files for nidmfsl 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nidmfsl-2.2.0.tar.gz | 23.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nidmfsl-2.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 47.5 kB
Release files / nidmfsl-2.2.0.tar.gz
| Download URL | nidmfsl-2.2.0.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
146db3bcc6f0015c9b3e6ebe43d0554dcdfe988dac1851b28cc0ff0a9691e4bd
|
|
BLAKE2b-256 checksum How to use checksums |
45cb22f6ee2e6eee9e2d6a7b59efe3a22b726ddd8a263a168921a5361a0575ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0
|
Release files / nidmfsl-2.2.0-py2.py3-none-any.whl
| Download URL | nidmfsl-2.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 24.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
18dbfb774ef7dc411519dfb91be106b289cf30b329e3cf8da0ad59960482fb9c
|
|
BLAKE2b-256 checksum How to use checksums |
b223a2c9f8a0ca378ae8ca9b7fb7462563f82c4f56a88cb42d825210f31ab41f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0
|