From 973f76e47906389ce42164a11edeb0506e808c34 Mon Sep 17 00:00:00 2001 From: salma1601 Date: Sun, 10 Sep 2017 20:36:41 +0200 Subject: [PATCH 1/2] fix typo in trait name --- nipype/interfaces/afni/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nipype/interfaces/afni/utils.py b/nipype/interfaces/afni/utils.py index e20fe1d5ff..88a317b8ce 100644 --- a/nipype/interfaces/afni/utils.py +++ b/nipype/interfaces/afni/utils.py @@ -602,12 +602,12 @@ class CatMatvecInputSpec(AFNICommandInputSpec): "This feature could be used, with clever scripting, to input" "a matrix directly on the command line to program 3dWarp.", argstr="-MATRIX", - xor=['oneline','fourXfour']) + xor=['oneline', 'fourxfour']) oneline = traits.Bool( descr="indicates that the resulting matrix" "will simply be written as 12 numbers on one line.", argstr="-ONELINE", - xor=['matrix','fourXfour']) + xor=['matrix', 'fourxfour']) fourxfour = traits.Bool( descr="Output matrix in augmented form (last row is 0 0 0 1)" "This option does not work with -MATRIX or -ONELINE", From 02d83e3cf02c49c2e982c5362089db7c46c64d02 Mon Sep 17 00:00:00 2001 From: salma1601 Date: Mon, 11 Sep 2017 09:20:32 +0200 Subject: [PATCH 2/2] update catMatvec autotests --- nipype/interfaces/afni/tests/test_auto_CatMatvec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nipype/interfaces/afni/tests/test_auto_CatMatvec.py b/nipype/interfaces/afni/tests/test_auto_CatMatvec.py index 4b79cd91d8..d3d94569be 100644 --- a/nipype/interfaces/afni/tests/test_auto_CatMatvec.py +++ b/nipype/interfaces/afni/tests/test_auto_CatMatvec.py @@ -23,11 +23,11 @@ def test_CatMatvec_inputs(): ), matrix=dict(argstr='-MATRIX', descr="indicates that the resulting matrix willbe written to outfile in the 'MATRIX(...)' format (FORM 3).This feature could be used, with clever scripting, to inputa matrix directly on the command line to program 3dWarp.", - xor=['oneline', 'fourXfour'], + xor=['oneline', 'fourxfour'], ), oneline=dict(argstr='-ONELINE', descr='indicates that the resulting matrixwill simply be written as 12 numbers on one line.', - xor=['matrix', 'fourXfour'], + xor=['matrix', 'fourxfour'], ), out_file=dict(argstr=' > %s', descr='File to write concattenated matvecs to',