Skip to content

Commit 50d1bfd

Browse files
authored
Merge pull request #2429 from jguillon/fix/dwi2response
[FIX] Fix issue #2408
2 parents d7a8085 + e6dad8f commit 50d1bfd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

nipype/interfaces/mrtrix3/preprocess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ResponseSDInputSpec(MRTrix3BaseInputSpec):
2727
'tournier',
2828
'tax',
2929
argstr='%s',
30-
position=-6,
30+
position=1,
3131
mandatory=True,
3232
desc='response estimation algorithm (multi-tissue)')
3333
in_file = File(
@@ -74,7 +74,7 @@ class ResponseSD(MRTrix3Base):
7474
>>> resp.inputs.algorithm = 'tournier'
7575
>>> resp.inputs.grad_fsl = ('bvecs', 'bvals')
7676
>>> resp.cmdline # doctest: +ELLIPSIS
77-
'dwi2response -fslgrad bvecs bvals tournier dwi.mif wm.txt'
77+
'dwi2response tournier -fslgrad bvecs bvals dwi.mif wm.txt'
7878
>>> resp.run() # doctest: +SKIP
7979
"""
8080

nipype/interfaces/mrtrix3/tests/test_auto_ResponseSD.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def test_ResponseSD_inputs():
88
algorithm=dict(
99
argstr='%s',
1010
mandatory=True,
11-
position=-6,
11+
position=1,
1212
),
1313
args=dict(argstr='%s', ),
1414
bval_scale=dict(argstr='-bvalue_scaling %s', ),

0 commit comments

Comments
 (0)