From 3dd026fe8faefe663865335e3c3179be4ada9924 Mon Sep 17 00:00:00 2001 From: mathiasg Date: Thu, 25 Jul 2024 13:04:18 -0400 Subject: [PATCH] FIX: ds_template_wf connections, parameter --- smriprep/workflows/anatomical.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/smriprep/workflows/anatomical.py b/smriprep/workflows/anatomical.py index b902d82610..fbb1947216 100644 --- a/smriprep/workflows/anatomical.py +++ b/smriprep/workflows/anatomical.py @@ -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([ @@ -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: