Skip to content

Commit bb4736c

Browse files
authored
FIX: Only grab sbref images, not metadata
1 parent eb7e4a5 commit bb4736c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fmriprep/workflows/bold/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def init_func_preproc_wf(bold_file, ignore, freesurfer,
263263
# Find associated sbref, if possible
264264
entities = layout.parse_file_entities(ref_file)
265265
entities['type'] = 'sbref'
266-
files = layout.get(**entities)
266+
files = layout.get(**entities, extensions=['.nii', '.nii.gz'])
267267
refbase = os.path.basename(ref_file)
268268
if 'sbref' in ignore:
269269
LOGGER.info("Single-band reference files ignored.")

0 commit comments

Comments
 (0)