Skip to content

Commit fd36721

Browse files
mgxdeffigies
authored andcommitted
fix: use fslr density over grayord
1 parent 87794f7 commit fd36721

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

fmriprep/workflows/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,9 +532,10 @@ def init_single_subject_wf(
532532
grayord_density=config.workflow.cifti_output,
533533
omp_nthreads=omp_nthreads,
534534
)
535+
fslr_density = '32k' if config.workflow.cifti_output == '91k' else '59k'
535536
resample_surfaces_wf = init_resample_surfaces_wf(
536537
surfaces=['white', 'pial', 'midthickness'],
537-
density=config.workflow.cifti_output,
538+
density=fslr_density,
538539
)
539540
ds_grayord_metrics_wf = init_ds_grayord_metrics_wf(
540541
bids_root=bids_root,
@@ -547,7 +548,7 @@ def init_single_subject_wf(
547548
surfaces=['white', 'pial', 'midthickness'],
548549
entities={
549550
'space': 'fsLR',
550-
'density': '32k' if config.workflow.cifti_output == '91k' else '59k',
551+
'density': fslr_density,
551552
},
552553
name='ds_fsLR_surfaces_wf',
553554
)

0 commit comments

Comments
 (0)