Skip to content

Commit 536cfb4

Browse files
committed
RF: Always make sulc connection
1 parent d56aaea commit 536cfb4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

smriprep/workflows/anatomical.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,6 @@ def _check_img(img):
531531
)
532532
applyrefined = pe.Node(fsl.ApplyMask(), name="applyrefined")
533533
sphere_reg_wf = init_sphere_reg_wf(msm_sulc=msm_sulc, name="sphere_reg_wf")
534-
if msm_sulc:
535-
workflow.connect(surface_recon_wf, 'outputnode.sulc', sphere_reg_wf, 'inputnode.sulc')
536534

537535
if t2w:
538536
t2w_template_wf = init_anat_template_wf(
@@ -622,6 +620,7 @@ def _check_img(img):
622620
(surface_recon_wf, sphere_reg_wf, [
623621
('outputnode.subject_id', 'inputnode.subject_id'),
624622
('outputnode.subjects_dir', 'inputnode.subjects_dir'),
623+
('outputnode.sulc', 'inputnode.sulc'),
625624
]),
626625
(sphere_reg_wf, outputnode, [
627626
('outputnode.sphere_reg', 'sphere_reg'),

0 commit comments

Comments
 (0)