Skip to content

Commit 9770f7b

Browse files
committed
FIX: Do not attempt to support multi-echo sbref in this PR
1 parent 72d7a86 commit 9770f7b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

fmriprep/workflows/bold/base.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,10 @@ def init_func_preproc_wf(bold_file, ignore, freesurfer,
265265
entities['type'] = 'sbref'
266266
files = layout.get(**entities)
267267
refbase = os.path.basename(ref_file)
268-
if files:
268+
if files and multiecho:
269+
LOGGER.warning("Single-band reference found, but not supported in "
270+
"multi-echo workflows at this time. Ignoring.")
271+
elif files:
269272
sbref_file = files[0].filename
270273
sbbase = os.path.basename(sbref_file)
271274
if len(files) > 1:

0 commit comments

Comments
 (0)