@@ -2457,7 +2457,7 @@ def _list_outputs(self):
24572457
24582458class QualityIndexInputSpec (AFNICommandInputSpec ):
24592459 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' ],
24612461 desc = 'compute correlation only across masked voxels' )
24622462 spearman = traits .Bool (False , usedefault = True , argstr = '-spearman' ,
24632463 desc = 'Quality index is 1 minus the Spearman (rank) '
@@ -2467,9 +2467,9 @@ class QualityIndexInputSpec(AFNICommandInputSpec):
24672467 desc = 'Similar to -spearman, but using 1 minus the '
24682468 'quadrant correlation coefficient as the '
24692469 'quality index.' )
2470- autoclip = traits .Bool (False , usedefault = True , argstr = '-autoclip' ,
2470+ autoclip = traits .Bool (False , usedefault = True , argstr = '-autoclip' , xor = [ 'mask' ],
24712471 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' ],
24732473 desc = 'clip off small voxels' )
24742474 clip = traits .Float (argstr = '-clip %f' , desc = 'clip off values below' )
24752475
0 commit comments