Skip to content

Commit 40a9404

Browse files
committed
Merge pull request #544 from margulies/master
added mask_source to afni.AutoTcorrelate
2 parents d8f757a + 4ef1ea3 commit 40a9404

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +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+
326+
mask_source = File(exists=True,
327+
desc="mask for source voxels",
328+
argstr="-mask_source %s",
329+
xor=['mask_only_targets'])
324330

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

0 commit comments

Comments
 (0)