File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -353,6 +353,13 @@ class AllineateInputSpec(AFNICommandInputSpec):
353353 argstr = '-nomask' ,
354354 desc = 'Don\' t compute the autoweight/mask; if -weight is not '
355355 'also used, then every voxel will be counted equally.' )
356+ weight_file = File (
357+ argstr = '-weight %s' ,
358+ exists = True ,
359+ deprecated = '1.0.0' , new_name = 'weight' ,
360+ desc = 'Set the weighting for each voxel in the base dataset; '
361+ 'larger weights mean that voxel count more in the cost function. '
362+ 'Must be defined on the same grid as the base dataset' )
356363 weight = traits .Either (
357364 File (exists = True ), traits .Float (),
358365 argstr = '-weight %s' ,
Original file line number Diff line number Diff line change @@ -119,6 +119,10 @@ def test_Allineate_inputs():
119119 ),
120120 weight = dict (argstr = '-weight %s' ,
121121 ),
122+ weight_file = dict (argstr = '-weight %s' ,
123+ deprecated = '1.0.0' ,
124+ new_name = 'weight' ,
125+ ),
122126 zclip = dict (argstr = '-zclip' ,
123127 ),
124128 )
You can’t perform that action at this time.
0 commit comments