Skip to content

Commit

Permalink
FIX: ds_template_wf connections, parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Jul 25, 2024
1 parent 7483fbc commit 3dd026f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions smriprep/workflows/anatomical.py
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ def init_anat_fit_wf(
image_type='T1w',
name='anat_template_wf',
)
ds_template_wf = init_ds_template_wf(output_dir=output_dir, num_t1w=num_t1w)
ds_template_wf = init_ds_template_wf(output_dir=output_dir, num_anat=num_t1w)

# fmt:off
workflow.connect([
Expand All @@ -780,11 +780,11 @@ def init_anat_fit_wf(
('outputnode.out_report', 'inputnode.t1w_conform_report'),
]),
(anat_template_wf, ds_template_wf, [
('outputnode.anat_realign_xfm', 'inputnode.t1w_ref_xfms'),
('outputnode.anat_realign_xfm', 'inputnode.anat_ref_xfms'),
]),
(sourcefile_buffer, ds_template_wf, [('source_files', 'inputnode.source_files')]),
(t1w_buffer, ds_template_wf, [('t1w_preproc', 'inputnode.t1w_preproc')]),
(ds_template_wf, outputnode, [('outputnode.t1w_preproc', 't1w_preproc')]),
(t1w_buffer, ds_template_wf, [('t1w_preproc', 'inputnode.anat_preproc')]),
(ds_template_wf, outputnode, [('outputnode.anat_preproc', 't1w_preproc')]),
])
# fmt:on
else:
Expand Down

0 comments on commit 3dd026f

Please sign in to comment.