Skip to content

Commit 0cb2bf7

Browse files
committed
FIX: revert changes
1 parent a098cec commit 0cb2bf7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

niworkflows/utils/bids.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,10 @@ def collect_data(
274274
dtype: sorted(layout.get(**layout_get_kwargs, **query)) for dtype, query in queries.items()
275275
}
276276

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+
277281
return subj_data, layout
278282

279283

0 commit comments

Comments
 (0)