Open sebastientourbier opened 4 years ago
Related to support issue #38
Such a functionality would require for:
Diffusion pipeline
To specify a custom BIDS derivative directory with preprocessed diffusion MRI data that contains *_desc-preproc_dwi.nii.gz
/ *_desc-preproc_dwi.json
/ *_desc-preproc_dwi.bval
/ *_desc-preproc_dwi.bvec
files
Input file availablity would be checked in check_input()
using pybids
The files would be retrieved using BIDSdatagrabber
New config traits
use_custom_bids_derivatives
boolean traitcustom_bids_derivatives
that specifyies the BIDS derivatives directory where preprocessed diffusion data is located.pybids_config
a path to a JSON file that specifies the pybids
query to get the inputs of the diffusion pipeline.Functional pipeline
To specify a custom BIDS derivative directory with preprocessed functional MRI data that contains *_desc-preproc_bold.nii.gz
/ *_desc-preproc_bold.json
files [TO BE UPDATED]
Input file availablity would be checked in check_input()
using pybids
The files would be retrieved using BIDSdatagrabber
New config traits
use_custom_bids_derivatives
boolean traitcustom_bids_derivatives
that specifyies the BIDS derivatives directory where preprocessed fMRI data is located.pybids_config
a path to a JSON file that specifies the pybids
query to get the inputs of the diffusion pipeline.
While adopting BIDS in CMP3, the way CMP is working changed dramastically and this feature, available in previous versions, is not working anymore for the moment. However, this is an important feature but this would also require to rethink the way the "custom" feature is working, such as working with BIDS derivatives directories obtained for instance by smriprep / dmriprep or fmriprep.