Skip to content

Commit 4ef1ea3

Browse files
committed
Added [xor] metadata to afni.AutoTcorrelate
1 parent 0df35e0 commit 4ef1ea3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,13 @@ class AutoTcorrelateInputSpec(AFNICommandInputSpec):
320320
mask = File(exists=True, desc="mask of voxels",
321321
argstr="-mask %s")
322322
mask_only_targets = traits.Bool(desc="use mask only on targets voxels",
323-
argstr="-mask_only_targets")
323+
argstr="-mask_only_targets",
324+
xor=['mask_source'])
325+
324326
mask_source = File(exists=True,
325-
desc="mask to restrict target voxels. not to be used with mask_only_targets",
326-
argstr="-mask_source %s")
327+
desc="mask for source voxels",
328+
argstr="-mask_source %s",
329+
xor=['mask_only_targets'])
327330

328331
out_file = File("%s_similarity_matrix.1D", desc='output image file name',
329332
argstr='-prefix %s', name_source="in_file", usedefault=True)

0 commit comments

Comments
 (0)