@@ -2457,7 +2457,7 @@ def _list_outputs(self):
2457
2457
2458
2458
class QualityIndexInputSpec (AFNICommandInputSpec ):
2459
2459
in_file = File (argstr = '%s' , mandatory = True , exists = True , position = - 2 , desc = 'input dataset' )
2460
- mask = File (exists = True , argstr = '-mask %s' ,
2460
+ mask = File (exists = True , argstr = '-mask %s' , xor = [ 'autoclip' , 'automask' ],
2461
2461
desc = 'compute correlation only across masked voxels' )
2462
2462
spearman = traits .Bool (False , usedefault = True , argstr = '-spearman' ,
2463
2463
desc = 'Quality index is 1 minus the Spearman (rank) '
@@ -2467,9 +2467,9 @@ class QualityIndexInputSpec(AFNICommandInputSpec):
2467
2467
desc = 'Similar to -spearman, but using 1 minus the '
2468
2468
'quadrant correlation coefficient as the '
2469
2469
'quality index.' )
2470
- autoclip = traits .Bool (False , usedefault = True , argstr = '-autoclip' ,
2470
+ autoclip = traits .Bool (False , usedefault = True , argstr = '-autoclip' , xor = [ 'mask' ],
2471
2471
desc = 'clip off small voxels' )
2472
- automask = traits .Bool (False , usedefault = True , argstr = '-automask' ,
2472
+ automask = traits .Bool (False , usedefault = True , argstr = '-automask' , xor = [ 'mask' ],
2473
2473
desc = 'clip off small voxels' )
2474
2474
clip = traits .Float (argstr = '-clip %f' , desc = 'clip off values below' )
2475
2475
0 commit comments