Skip to content

Commit 7e2909e

Browse files
committed
FIX: T1w_preproc -> t1w_preproc
1 parent b1982f9 commit 7e2909e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

smriprep/workflows/anatomical.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,6 @@ def init_anat_fit_wf(
11511151
)
11521152
ds_t2w_preproc.inputs.SkullStripped = False
11531153

1154-
# fmt:off
11551154
workflow.connect([
11561155
(inputnode, t2w_template_wf, [('t2w', 'inputnode.anat_files')]),
11571156
(t2w_template_wf, bbreg, [('outputnode.anat_ref', 'source_file')]),
@@ -1163,13 +1162,12 @@ def init_anat_fit_wf(
11631162
(surface_recon_wf, coreg_xfms, [('outputnode.fsnative2t1w_xfm', 'in2')]),
11641163
(coreg_xfms, t2wtot1w_xfm, [('out', 'in_xfms')]),
11651164
(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')]),
11671166
(t2wtot1w_xfm, t2w_resample, [('out_xfm', 'transforms')]),
11681167
(inputnode, ds_t2w_preproc, [('t2w', 'source_file')]),
11691168
(t2w_resample, ds_t2w_preproc, [('output_image', 'in_file')]),
11701169
(ds_t2w_preproc, outputnode, [('out_file', 't2w_preproc')]),
1171-
])
1172-
# fmt:on
1170+
]) # fmt:skip
11731171
elif not t2w:
11741172
LOGGER.info("ANAT No T2w images provided - skipping Stage 7")
11751173
else:

0 commit comments

Comments
 (0)