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):
353
353
argstr = '-nomask' ,
354
354
desc = 'Don\' t compute the autoweight/mask; if -weight is not '
355
355
'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' )
356
363
weight = traits .Either (
357
364
File (exists = True ), traits .Float (),
358
365
argstr = '-weight %s' ,
Original file line number Diff line number Diff line change @@ -119,6 +119,10 @@ def test_Allineate_inputs():
119
119
),
120
120
weight = dict (argstr = '-weight %s' ,
121
121
),
122
+ weight_file = dict (argstr = '-weight %s' ,
123
+ deprecated = '1.0.0' ,
124
+ new_name = 'weight' ,
125
+ ),
122
126
zclip = dict (argstr = '-zclip' ,
123
127
),
124
128
)
You can’t perform that action at this time.
0 commit comments