Skip to content

Commit 999a538

Browse files
committed
FIX: Retrieve T1w preproc from buffer
1 parent 4635fbb commit 999a538

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

smriprep/workflows/anatomical.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,9 +1155,7 @@ def init_anat_fit_wf(
11551155
(surface_recon_wf, coreg_xfms, [('outputnode.fsnative2t1w_xfm', 'in2')]),
11561156
(coreg_xfms, t2wtot1w_xfm, [('out', 'in_xfms')]),
11571157
(t2w_template_wf, t2w_resample, [('outputnode.anat_ref', 'input_image')]),
1158-
(brain_extraction_wf, t2w_resample, [
1159-
(('outputnode.bias_corrected', _pop), 'reference_image'),
1160-
]),
1158+
(t1w_buffer, t2w_resample, [('T1w_preproc', 'reference_image')]),
11611159
(t2wtot1w_xfm, t2w_resample, [('out_xfm', 'transforms')]),
11621160
(inputnode, ds_t2w_preproc, [('t2w', 'source_file')]),
11631161
(t2w_resample, ds_t2w_preproc, [('output_image', 'in_file')]),

0 commit comments

Comments
 (0)