Skip to content

Commit 89e208c

Browse files
author
David Ellis
committed
FIX: Switches the presurf labelmap name back to aseg.presurf.mgz.
1 parent 01b84a9 commit 89e208c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

nipype/workflows/smri/freesurfer/autorecon2.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,7 @@ def create_AutoRecon2(name="AutoRecon2", longitudinal=False,
248248
['out_file'],
249249
copy_file),
250250
name='Copy_CCSegmentation')
251-
if fsvernum > 6:
252-
copy_cc.inputs.out_file = 'aseg.presurf.mgz'
253-
else:
254-
copy_cc.inputs.out_file = 'aseg.mgz'
251+
copy_cc.inputs.out_file = 'aseg.presurf.mgz'
255252

256253
ar2_wf.connect([(segment_cc, copy_cc, [('out_file', 'in_file')])
257254
])

0 commit comments

Comments
 (0)