Skip to content

Commit 67e58b4

Browse files
authored
Merge pull request #2179 from salma1601/afni_CatMatVec
[Fix] typo in AFNI MatCatvec trait name fourxfour
2 parents 28df616 + 02d83e3 commit 67e58b4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

nipype/interfaces/afni/tests/test_auto_CatMatvec.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ def test_CatMatvec_inputs():
2323
),
2424
matrix=dict(argstr='-MATRIX',
2525
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.",
26-
xor=['oneline', 'fourXfour'],
26+
xor=['oneline', 'fourxfour'],
2727
),
2828
oneline=dict(argstr='-ONELINE',
2929
descr='indicates that the resulting matrixwill simply be written as 12 numbers on one line.',
30-
xor=['matrix', 'fourXfour'],
30+
xor=['matrix', 'fourxfour'],
3131
),
3232
out_file=dict(argstr=' > %s',
3333
descr='File to write concattenated matvecs to',

nipype/interfaces/afni/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,12 +602,12 @@ class CatMatvecInputSpec(AFNICommandInputSpec):
602602
"This feature could be used, with clever scripting, to input"
603603
"a matrix directly on the command line to program 3dWarp.",
604604
argstr="-MATRIX",
605-
xor=['oneline','fourXfour'])
605+
xor=['oneline', 'fourxfour'])
606606
oneline = traits.Bool(
607607
descr="indicates that the resulting matrix"
608608
"will simply be written as 12 numbers on one line.",
609609
argstr="-ONELINE",
610-
xor=['matrix','fourXfour'])
610+
xor=['matrix', 'fourxfour'])
611611
fourxfour = traits.Bool(
612612
descr="Output matrix in augmented form (last row is 0 0 0 1)"
613613
"This option does not work with -MATRIX or -ONELINE",

0 commit comments

Comments
 (0)