Skip to content

Commit b7b68d4

Browse files
authored
Merge pull request #1285 from poldracklab/fix/sbref_image
FIX: Only grab sbref images, not metadata
2 parents 8a4de9f + d9e3c90 commit b7b68d4

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
@@ -264,7 +264,7 @@ def init_func_preproc_wf(bold_file, ignore, freesurfer,
264264
# Find associated sbref, if possible
265265
entities = layout.parse_file_entities(ref_file)
266266
entities['type'] = 'sbref'
267-
files = layout.get(**entities)
267+
files = layout.get(**entities, extensions=['nii', 'nii.gz'])
268268
refbase = os.path.basename(ref_file)
269269
if 'sbref' in ignore:
270270
LOGGER.info("Single-band reference files ignored.")

0 commit comments

Comments
 (0)