@@ -1151,7 +1151,6 @@ def init_anat_fit_wf(
1151
1151
)
1152
1152
ds_t2w_preproc .inputs .SkullStripped = False
1153
1153
1154
- # fmt:off
1155
1154
workflow .connect ([
1156
1155
(inputnode , t2w_template_wf , [('t2w' , 'inputnode.anat_files' )]),
1157
1156
(t2w_template_wf , bbreg , [('outputnode.anat_ref' , 'source_file' )]),
@@ -1163,13 +1162,12 @@ def init_anat_fit_wf(
1163
1162
(surface_recon_wf , coreg_xfms , [('outputnode.fsnative2t1w_xfm' , 'in2' )]),
1164
1163
(coreg_xfms , t2wtot1w_xfm , [('out' , 'in_xfms' )]),
1165
1164
(t2w_template_wf , t2w_resample , [('outputnode.anat_ref' , 'input_image' )]),
1166
- (t1w_buffer , t2w_resample , [('T1w_preproc ' , 'reference_image' )]),
1165
+ (t1w_buffer , t2w_resample , [('t1w_preproc ' , 'reference_image' )]),
1167
1166
(t2wtot1w_xfm , t2w_resample , [('out_xfm' , 'transforms' )]),
1168
1167
(inputnode , ds_t2w_preproc , [('t2w' , 'source_file' )]),
1169
1168
(t2w_resample , ds_t2w_preproc , [('output_image' , 'in_file' )]),
1170
1169
(ds_t2w_preproc , outputnode , [('out_file' , 't2w_preproc' )]),
1171
- ])
1172
- # fmt:on
1170
+ ]) # fmt:skip
1173
1171
elif not t2w :
1174
1172
LOGGER .info ("ANAT No T2w images provided - skipping Stage 7" )
1175
1173
else :
0 commit comments