1.) I have a dataset in BIDS format containing structural images. Some images of certain subjects were preprocessed using CAT12 which created three subfolders in their respective
/anat directory called
/report. So not all subjects have these three folders in their
/anat folder. CAT12 has also added the prefix ‘mwp1’ (with underscore) to the files to tag them as preprocessed. Is there a way to find these files (e.g. using some regex methods) using pybids?
2.) I guess a better structure would have been to put the preprocessed files in a subdirectory project/derivatives/cat12/sub-01/…, but does anyone know if CAT12 offers this solution?
project/ sub-01/session-20201001/anat/sub-01_ses-20201001_acq-mprage_run-01_T1w.nii.gz sub-01/session-20201001/anat/mri/mwp1sub-01_ses-20201001_acq-mprage_run-01_T1w.nii.gz sub-01/session-20201001/anat/label/... sub-01/session-20201001/anat/report/...