Skip to content

Commit 45de1d5

Browse files
committed
Patch missing connection
1 parent b245016 commit 45de1d5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

fmriprep/workflows/bold/registration.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ def init_bold_calc_reg_wf(freesurfer, use_bbr, bold2t1w_dof, mem_gb, omp_nthread
127127
(only if ``recon-all`` was run).
128128
fallback
129129
Boolean indicating whether BBR was rejected (mri_coreg registration returned)
130+
reference_image
131+
Reference grid for resampling to a different space (e.g. MNI),
132+
keeping the original resolution
130133
131134
132135
**Subworkflows**
@@ -148,7 +151,8 @@ def init_bold_calc_reg_wf(freesurfer, use_bbr, bold2t1w_dof, mem_gb, omp_nthread
148151
outputnode = pe.Node(
149152
niu.IdentityInterface(fields=[
150153
'itk_bold_to_t1', 'itk_t1_to_bold', 'fallback',
151-
'bold_mask_t1', 'bold_aseg_t1', 'bold_aparc_t1']),
154+
'bold_mask_t1', 'bold_aseg_t1', 'bold_aparc_t1',
155+
'reference_image']),
152156
name='outputnode'
153157
)
154158

@@ -203,6 +207,7 @@ def init_bold_calc_reg_wf(freesurfer, use_bbr, bold2t1w_dof, mem_gb, omp_nthread
203207
(inputnode, aparc_t1w_tfm, [('t1_aparc', 'input_image')]),
204208
(gen_ref, aseg_t1w_tfm, [('out_file', 'reference_image')]),
205209
(gen_ref, aparc_t1w_tfm, [('out_file', 'reference_image')]),
210+
(gen_ref, outputnode, [('out_file', 'reference_image')]),
206211
(aseg_t1w_tfm, outputnode, [('output_image', 'bold_aseg_t1')]),
207212
(aparc_t1w_tfm, outputnode, [('output_image', 'bold_aparc_t1')]),
208213
])

0 commit comments

Comments
 (0)