Skip to content

Commit

Permalink
ENH: Pass along individual outputs to surface workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Aug 23, 2023
1 parent 0a88fd9 commit dbb5dc7
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion smriprep/workflows/surfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,13 @@ def init_surface_recon_wf(*, omp_nthreads, hires, name="surface_recon_wf"):
"out_aseg",
"out_aparc",
"morphometrics",
"midthickness",
"pial",
"white",
"inflated",
"thickness",
"sulc",
"curv",
]
),
name="outputnode",
Expand Down Expand Up @@ -294,7 +301,15 @@ def init_surface_recon_wf(*, omp_nthreads, hires, name="surface_recon_wf"):
(autorecon_resume_wf, outputnode, [('outputnode.subjects_dir', 'subjects_dir'),
('outputnode.subject_id', 'subject_id')]),
(gifti_surface_wf, outputnode, [('outputnode.surfaces', 'surfaces'),
('outputnode.morphometrics', 'morphometrics')]),
('outputnode.morphometrics', 'morphometrics'),
('outputnode.midthickness', 'midthickness'),
('outputnode.pial', 'pial'),
('outputnode.white', 'white'),
('outputnode.inflated', 'inflated'),
('outputnode.morphometrics', 'morphometrics'),
('outputnode.thickness', 'thickness'),
('outputnode.sulc', 'sulc'),
('outputnode.curv', 'curv')]),
(t1w2fsnative_xfm, outputnode, [('out_lta', 't1w2fsnative_xfm')]),
(fsnative2t1w_xfm, outputnode, [('out_reg_file', 'fsnative2t1w_xfm')]),
(refine, outputnode, [('out_file', 'out_brainmask')]),
Expand Down

0 comments on commit dbb5dc7

Please sign in to comment.