Skip to content

[Fix] typo in AFNI MatCatvec trait name fourxfour #2179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 11, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nipype/interfaces/afni/tests/test_auto_CatMatvec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions nipype/interfaces/afni/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down