We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a098cec commit 0cb2bf7Copy full SHA for 0cb2bf7
niworkflows/utils/bids.py
@@ -274,6 +274,10 @@ def collect_data(
274
dtype: sorted(layout.get(**layout_get_kwargs, **query)) for dtype, query in queries.items()
275
}
276
277
+ # Special case: multi-echo BOLD, grouping echos
278
+ if group_echos and 'bold' in subj_data and any('_echo-' in bold for bold in subj_data['bold']):
279
+ subj_data['bold'] = group_multiecho(subj_data['bold'])
280
+
281
return subj_data, layout
282
283
0 commit comments