Skip to content

Commit 0b6eb84

Browse files
author
David Ellis
committed
FIX: Updates WM_Parcellation_Stats to take aseg as input.
1 parent 1ec5bf0 commit 0b6eb84

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

nipype/workflows/smri/freesurfer/autorecon3.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,13 @@ def create_AutoRecon3(name="AutoRecon3", qcache=False, plugin_args=None,
724724
]),
725725
])
726726

727+
if fsvernum > 6:
728+
ar3_wf.connect(inputspec, 'aseg_presurf', segstats, 'presurf_seg')
729+
else:
730+
ar3_wf.connect(inputspec, 'aseg_presurf', segstats, 'aseg')
731+
732+
733+
727734
# add brodman area maps to the workflow
728735
ba_WF, ba_outputs = create_ba_maps_wf(th3=th3, exvivo=exvivo,
729736
entorhinal=entorhinal)

0 commit comments

Comments
 (0)