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):
390390
391391class Surface2VolTransformInputSpec (FSTraitedSpec ):
392392 source_file = File (exists = True , argstr = '--surfval %s' ,
393- copyfile = False , mandatory = True ,
393+ copyfile = False , mandatory = True , xor = [ 'mkmask' ],
394394 desc = 'This is the source of the surface values' )
395395 hemi = traits .Str (argstr = '--hemi %s' , mandatory = True ,
396396 desc = 'hemisphere of data' )
@@ -404,7 +404,7 @@ class Surface2VolTransformInputSpec(FSTraitedSpec):
404404 template_file = File (exists = True , argstr = '--template %s' ,
405405 desc = 'Output template volume' )
406406 mkmask = traits .Bool (desc = 'make a mask instead of loading surface values' ,
407- argstr = '--mkmask' )
407+ argstr = '--mkmask' , xor = [ 'source_file' ] )
408408 vertexvol_file = File (name_template = "%s_asVol_vertex.nii" ,
409409 desc = ('Path name of the vertex output volume, which '
410410 'is the same as output volume except that the '
You can’t perform that action at this time.
0 commit comments