@@ -767,7 +767,7 @@ def init_anat_fit_wf(
767
767
image_type = 'T1w' ,
768
768
name = 'anat_template_wf' ,
769
769
)
770
- ds_template_wf = init_ds_template_wf (output_dir = output_dir , num_t1w = num_t1w )
770
+ ds_template_wf = init_ds_template_wf (output_dir = output_dir , num_anat = num_t1w )
771
771
772
772
# fmt:off
773
773
workflow .connect ([
@@ -780,11 +780,11 @@ def init_anat_fit_wf(
780
780
('outputnode.out_report' , 'inputnode.t1w_conform_report' ),
781
781
]),
782
782
(anat_template_wf , ds_template_wf , [
783
- ('outputnode.anat_realign_xfm' , 'inputnode.t1w_ref_xfms ' ),
783
+ ('outputnode.anat_realign_xfm' , 'inputnode.anat_ref_xfms ' ),
784
784
]),
785
785
(sourcefile_buffer , ds_template_wf , [('source_files' , 'inputnode.source_files' )]),
786
- (t1w_buffer , ds_template_wf , [('t1w_preproc' , 'inputnode.t1w_preproc ' )]),
787
- (ds_template_wf , outputnode , [('outputnode.t1w_preproc ' , 't1w_preproc' )]),
786
+ (t1w_buffer , ds_template_wf , [('t1w_preproc' , 'inputnode.anat_preproc ' )]),
787
+ (ds_template_wf , outputnode , [('outputnode.anat_preproc ' , 't1w_preproc' )]),
788
788
])
789
789
# fmt:on
790
790
else :
0 commit comments