Skip to content

Commit 5060fdc

Browse files
author
David Ellis
committed
FIX: Adds inputs to the copying of aseg_presurf to aseg.mgz.
1 parent e262e78 commit 5060fdc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nipype/workflows/smri/freesurfer/autorecon3.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,9 @@ def out_aseg(in_aparcaseg, in_aseg, out_file):
622622
['out_file'],
623623
out_aseg),
624624
name="Aseg")
625+
ar3_wf.connect([(aparc_2_aseg, apas_2_aseg, [('out_file', 'in_aparcaseg')]),
626+
(inputspec, apas_2_aseg, [('aseg_presurf', 'in_aseg')])])
627+
625628
apas_2_aseg.inputs.out_file = "aseg.mgz"
626629

627630

0 commit comments

Comments
 (0)