Skip to content

Commit 3ee6a1f

Browse files
authored
FIX: Retrieve atlas ROIs at requested density (#3179)
Fixes #3178. Depends on nipreps/smriprep#405 to actually work, but can be merged separately.
1 parent 1272567 commit 3ee6a1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fmriprep/workflows/bold/resampling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,8 +641,8 @@ def init_bold_fsLR_resampling_wf(
641641
]
642642
atlases = smriprep_data.load_resource('atlases')
643643
select_surfaces.inputs.template_roi = [
644-
str(atlases / 'L.atlasroi.32k_fs_LR.shape.gii'),
645-
str(atlases / 'R.atlasroi.32k_fs_LR.shape.gii'),
644+
str(atlases / f'L.atlasroi.{fslr_density}_fs_LR.shape.gii'),
645+
str(atlases / f'R.atlasroi.{fslr_density}_fs_LR.shape.gii'),
646646
]
647647

648648
# RibbonVolumeToSurfaceMapping.sh

0 commit comments

Comments
 (0)