Skip to content

Commit f7a1d01

Browse files
committed
fix: pass in cortex mask to apply workflow
1 parent f74ecbf commit f7a1d01

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

nibabies/workflows/anatomical/apply.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def init_infant_anat_apply_wf(
6262
'white',
6363
'pial',
6464
'midthickness',
65+
'cortex_mask',
6566
reg_sphere,
6667
# template workflow inputs
6768
'std_t1w',
@@ -235,6 +236,7 @@ def init_infant_anat_apply_wf(
235236
(reg_sphere, 'inputnode.sphere_reg_fsLR'),
236237
]),
237238
(inputnode, morph_grayords_wf, [
239+
('cortex_mask', 'inputnode.roi'),
238240
('midthickness', 'inputnode.midthickness'),
239241
(reg_sphere, 'inputnode.sphere_reg_fsLR'),
240242
]),

nibabies/workflows/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@ def init_single_subject_wf(
534534
('outputnode.white', 'inputnode.white'),
535535
('outputnode.pial', 'inputnode.pial'),
536536
('outputnode.midthickness', 'inputnode.midthickness'),
537+
('outputnode.cortex_mask', 'inputnode.cortex_mask'),
537538
(f'outputnode.{reg_sphere}', f'inputnode.{reg_sphere}'),
538539
('outputnode.sulc', 'inputnode.sulc'),
539540
('outputnode.subjects_dir', 'inputnode.subjects_dir'),

0 commit comments

Comments
 (0)