What happened?
Running mriqc on a dataset with DWI phase data generates DTI maps from phase data too (and that doesn't look good, and would corrupt mriqcwebapi crowdsourced database).
I see 2 options:
- edit niworflows https://github.com/nipreps/niworkflows/blob/d991644f3a769d7c84e7c8bb897ea30fb96885df/niworkflows/utils/bids.py#L42 to ignore phase data by default, as it is done for other modalities, however I am not sure if that default filter is used in any software that would use these filters to input DWI data that can use phase data.
- add dwi phase to MRIQC ignore regexes when indexing the BIDS repo
|
ignore_paths: list[Pattern] = [ |
|
# Ignore folders at the top if they don't start with /sub-<label>/ |
|
re.compile(r'^(?!/sub-[a-zA-Z0-9]+)'), |
|
# Ignore all modality subfolders, except for func/ or anat/ |
|
re.compile( |
|
r'^/sub-[a-zA-Z0-9]+(/ses-[a-zA-Z0-9]+)?/' |
|
r'(beh|fmap|pet|perf|meg|eeg|ieeg|micr|nirs)' |
|
), |
|
# Ignore all files, except for the supported modalities |
|
re.compile(r'^.+(?<!(_T1w|_T2w|bold|_dwi))\.(json|nii|nii\.gz)$'), |
|
] |
Let me know what make the most sense and I will gladly open a PR to one or the other.
What command did you use?
What version of the software are you running?
24.0.2
How are you running this software?
Singularity
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
Additional information / screenshots
No response
What happened?
Running mriqc on a dataset with DWI phase data generates DTI maps from phase data too (and that doesn't look good, and would corrupt mriqcwebapi crowdsourced database).
I see 2 options:
mriqc/mriqc/config.py
Lines 508 to 518 in c030ac1
Let me know what make the most sense and I will gladly open a PR to one or the other.
What command did you use?
What version of the software are you running?
24.0.2
How are you running this software?
Singularity
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
Additional information / screenshots
No response