File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
nibabies/workflows/anatomical Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -412,15 +412,21 @@ def init_infant_anat_wf(
412
412
mcribs_dir = str (config .execution .mcribs_dir ), # Needed to preserve runs
413
413
)
414
414
415
+ if precomp_mask :
416
+ wf .connect (
417
+ sdc_brain_extraction_wf , 'outputnode.out_file' , surface_recon_wf , 'inputnode.t2w'
418
+ )
419
+ else :
420
+ wf .connect (
421
+ brain_extraction_wf , 'outputnode.t2w_preproc' , surface_recon_wf , 'inputnode.t2w'
422
+ )
423
+
415
424
# fmt:off
416
425
wf .connect ([
417
426
(inputnode , surface_recon_wf , [
418
427
("subject_id" , "inputnode.subject_id" ),
419
428
("subjects_dir" , "inputnode.subjects_dir" ),
420
429
]),
421
- (coregistration_wf , surface_recon_wf , [
422
- ("outputnode.t2w_preproc" , "inputnode.t2w" ),
423
- ]),
424
430
(anat_seg_wf , surface_recon_wf , [
425
431
("outputnode.anat_aseg" , "inputnode.ants_segs" ),
426
432
]),
You can’t perform that action at this time.
0 commit comments