Skip to content

Commit 759f52e

Browse files
ellisdgDavid Ellis
authored andcommitted
FIX: Takes out new inputs to CALabel.
1 parent 06d5fbc commit 759f52e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nipype/workflows/smri/freesurfer/autorecon2.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,9 @@ def create_AutoRecon2(name="AutoRecon2", longitudinal=False,
218218
fuse_segmentations.inputs.out_file = 'aseg.fused.mgz'
219219

220220
ca_label = pe.Node(CALabel(), name='CA_Label')
221-
ca_label.inputs.relabel_unlikely = (9, .3)
222-
ca_label.inputs.prior = 0.5
221+
if fsvernum > 6:
222+
ca_label.inputs.relabel_unlikely = (9, .3)
223+
ca_label.inputs.prior = 0.5
223224
ca_label.inputs.align = True
224225
ca_label.inputs.out_file = 'aseg.auto_noCCseg.mgz'
225226
if plugin_args:

0 commit comments

Comments
 (0)