Skip to content

Commit 0025971

Browse files
committed
FIX: ds_template_wf connections, parameter
1 parent bbddb11 commit 0025971

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

smriprep/workflows/anatomical.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ def init_anat_fit_wf(
767767
image_type='T1w',
768768
name='anat_template_wf',
769769
)
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)
771771

772772
# fmt:off
773773
workflow.connect([
@@ -780,11 +780,11 @@ def init_anat_fit_wf(
780780
('outputnode.out_report', 'inputnode.t1w_conform_report'),
781781
]),
782782
(anat_template_wf, ds_template_wf, [
783-
('outputnode.anat_realign_xfm', 'inputnode.t1w_ref_xfms'),
783+
('outputnode.anat_realign_xfm', 'inputnode.anat_ref_xfms'),
784784
]),
785785
(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')]),
788788
])
789789
# fmt:on
790790
else:

0 commit comments

Comments
 (0)