File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
nipype/interfaces/freesurfer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ def _gen_filename(self, name):
390
390
391
391
class Surface2VolTransformInputSpec (FSTraitedSpec ):
392
392
source_file = File (exists = True , argstr = '--surfval %s' ,
393
- copyfile = False , mandatory = True ,
393
+ copyfile = False , mandatory = True , xor = [ 'mkmask' ],
394
394
desc = 'This is the source of the surface values' )
395
395
hemi = traits .Str (argstr = '--hemi %s' , mandatory = True ,
396
396
desc = 'hemisphere of data' )
@@ -404,7 +404,7 @@ class Surface2VolTransformInputSpec(FSTraitedSpec):
404
404
template_file = File (exists = True , argstr = '--template %s' ,
405
405
desc = 'Output template volume' )
406
406
mkmask = traits .Bool (desc = 'make a mask instead of loading surface values' ,
407
- argstr = '--mkmask' )
407
+ argstr = '--mkmask' , xor = [ 'source_file' ] )
408
408
vertexvol_file = File (name_template = "%s_asVol_vertex.nii" ,
409
409
desc = ('Path name of the vertex output volume, which '
410
410
'is the same as output volume except that the '
You can’t perform that action at this time.
0 commit comments