Closed rohanbanerjee closed 6 months ago
Fixes #43
This PR solves two things,
data_type
anat
The PR can be tested for a fMRI data with the following steps:
utilities
python convert_bids_to_nnUNetV2.py --path-data /home/GRAMES.POLYMTL.CA/robana/duke/temp/rohan/fmri_sc_seg/datasets/data_all --path-out /home/GRAMES.POLYMTL.CA/robana/duke/temp/rohan/fmri_sc_seg/nnUNet_raw --split 0.8 0.2 --seed 42 --contrast bold --label-suffix seg-manual --data-type func --dataset-name spinefmri --dataset-number 516 --copy True
Thank you for opening the PR! 👍🏻 let me know once it is ready for review.
Thanks @valosekj for looking into this, ready for review now!
Fixes #43
This PR solves two things,
data_type
can be given as a flaganat
data-type in the files and should possibly work with all types of BIDS data-types.The PR can be tested for a fMRI data with the following steps:
utilities
repository