@@ -447,29 +447,27 @@ def init_single_subject_wf(
447
447
use_syn = use_syn ,
448
448
)
449
449
450
- # workflow.connect([
451
- # (anat_preproc_wf, dwi_preproc_wf,
452
- # [(('outputnode.t1_preproc', _pop), 'inputnode.t1_preproc'),
453
- # ('outputnode.t1_brain', 'inputnode.t1_brain'),
454
- # ('outputnode.t1_mask', 'inputnode.t1_mask'),
455
- # ('outputnode.t1_seg', 'inputnode.t1_seg'),
456
- # ('outputnode.t1_aseg', 'inputnode.t1_aseg'),
457
- # ('outputnode.t1_aparc', 'inputnode.t1_aparc'),
458
- # ('outputnode.t1_tpms', 'inputnode.t1_tpms'),
459
- # ('outputnode.template', 'inputnode.template'),
460
- # ('outputnode.forward_transform', 'inputnode.anat2std_xfm'),
461
- # ('outputnode.reverse_transform', 'inputnode.std2anat_xfm'),
462
- # ('outputnode.joint_template', 'inputnode.joint_template'),
463
- # ('outputnode.joint_forward_transform', 'inputnode.joint_anat2std_xfm'),
464
- # ('outputnode.joint_reverse_transform', 'inputnode.joint_std2anat_xfm'),
465
- # # Undefined if --no-freesurfer, but this is safe
466
- # ('outputnode.subjects_dir', 'inputnode.subjects_dir'),
467
- # ('outputnode.subject_id', 'inputnode.subject_id'),
468
- # ('outputnode.t1_2_fsnative_forward_transform',
469
- # 'inputnode.t1_2_fsnative_forward_transform'),
470
- # ('outputnode.t1_2_fsnative_reverse_transform',
471
- # 'inputnode.t1_2_fsnative_reverse_transform')]),
472
- # ])
450
+ workflow .connect ([
451
+ (anat_preproc_wf , dwi_preproc_wf ,
452
+ [(('outputnode.t1w_preproc' , _pop ), 'inputnode.t1w_preproc' ),
453
+ ('outputnode.t1w_brain' , 'inputnode.t1w_brain' ),
454
+ ('outputnode.t1w_mask' , 'inputnode.t1w_mask' ),
455
+ ('outputnode.t1w_dseg' , 'inputnode.t1w_dseg' ),
456
+ ('outputnode.t1w_aseg' , 'inputnode.t1w_aseg' ),
457
+ ('outputnode.t1w_aparc' , 'inputnode.t1w_aparc' ),
458
+ ('outputnode.t1w_tpms' , 'inputnode.t1w_tpms' ),
459
+ ('outputnode.template' , 'inputnode.template' ),
460
+ ('outputnode.anat2std_xfm' , 'inputnode.anat2std_xfm' ),
461
+ ('outputnode.std2anat_xfm' , 'inputnode.std2anat_xfm' ),
462
+ ('outputnode.joint_template' , 'inputnode.joint_template' ),
463
+ ('outputnode.joint_anat2std_xfm' , 'inputnode.joint_anat2std_xfm' ),
464
+ ('outputnode.joint_std2anat_xfm' , 'inputnode.joint_std2anat_xfm' ),
465
+ # Undefined if --fs-no-reconall, but this is safe
466
+ ('outputnode.subjects_dir' , 'inputnode.subjects_dir' ),
467
+ ('outputnode.subject_id' , 'inputnode.subject_id' ),
468
+ ('outputnode.t1w2fsnative_xfm' , 'inputnode.t1w2fsnative_xfm' ),
469
+ ('outputnode.fsnative2t1w_xfm' , 'inputnode.fsnative2t1w_xfm' )]),
470
+ ])
473
471
474
472
return workflow
475
473
0 commit comments