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 56b27aa commit 96c3852Copy full SHA for 96c3852
niworkflows/utils/bids.py
@@ -167,6 +167,7 @@ def collect_data(
167
session_id=None,
168
task=None,
169
echo=None,
170
+ group_me=True,
171
bids_validate=True,
172
bids_filters=None,
173
queries=None,
@@ -261,7 +262,11 @@ def collect_data(
261
262
}
263
264
# Special case: multi-echo BOLD, grouping echos
- if any(["_echo-" in bold for bold in subj_data["bold"]]):
265
+ if (
266
+ group_me
267
+ and "bold" in subj_data
268
+ and any(["_echo-" in bold for bold in subj_data["bold"]])
269
+ ):
270
subj_data["bold"] = group_multiecho(subj_data["bold"])
271
272
return subj_data, layout
0 commit comments