Select magnitude images in collect_data.
@@ -200,11 +200,11 @@ def collect_data(
queries = {
"fmap": {"datatype": "fmap"},
- "bold": {"datatype": "func", "suffix": "bold"},
- "sbref": {"datatype": "func", "suffix": "sbref"},
- "flair": {"datatype": "anat", "suffix": "FLAIR"},
- "t2w": {"datatype": "anat", "suffix": "T2w"},
- "t1w": {"datatype": "anat", "suffix": "T1w"},
+ "bold": {"datatype": "func", "suffix": "bold", "part": ["mag", None]},
+ "sbref": {"datatype": "func", "suffix": "sbref", "part": ["mag", None]},
+ "flair": {"datatype": "anat", "suffix": "FLAIR", "part": ["mag", None]},
+ "t2w": {"datatype": "anat", "suffix": "T2w", "part": ["mag", None]},
+ "t1w": {"datatype": "anat", "suffix": "T1w", "part": ["mag", None]},
"roi": {"datatype": "anat", "suffix": "roi"},
}
bids_filters = bids_filters or {}
