File tree Expand file tree Collapse file tree 2 files changed +7
-20
lines changed
nipype/interfaces/mrtrix3 Expand file tree Collapse file tree 2 files changed +7
-20
lines changed Original file line number Diff line number Diff line change @@ -100,19 +100,16 @@ class MRDeGibbsInputSpec(MRTrix3BaseInputSpec):
100
100
desc = 'indicate the plane in which the data was acquired (axial = 0,1; '
101
101
'coronal = 0,2; sagittal = 1,2' )
102
102
nshifts = traits .Int (
103
- default_value = 20 ,
104
- usedefault = True ,
103
+ 20 ,
105
104
argstr = '-nshifts %d' ,
106
105
desc = 'discretization of subpixel spacing (default = 20)' )
107
106
minW = traits .Int (
108
- default_value = 1 ,
109
- usedefault = True ,
107
+ 1 ,
110
108
argstr = '-minW %d' ,
111
109
desc = 'left border of window used for total variation (TV) computation '
112
110
'(default = 1)' )
113
111
maxW = traits .Int (
114
- default_value = 3 ,
115
- usedefault = True ,
112
+ 3 ,
116
113
argstr = '-maxW %d' ,
117
114
desc = 'right border of window used for total variation (TV) computation '
118
115
'(default = 3)' )
@@ -159,7 +156,7 @@ class MRDeGibbs(MRTrix3Base):
159
156
>>> unring = mrt.MRDeGibbs()
160
157
>>> unring.inputs.in_file = 'dwi.mif'
161
158
>>> unring.cmdline
162
- 'mrdegibbs -axes 0,1 -maxW 3 -minW 1 -nshifts 20 dwi.mif dwi_unr.mif'
159
+ 'mrdegibbs dwi.mif dwi_unr.mif'
163
160
>>> unring.run() # doctest: +SKIP
164
161
"""
165
162
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ def test_MRDeGibbs_inputs():
11
11
maxlen = 2 ,
12
12
minlen = 2 ,
13
13
sep = ',' ,
14
- usedefault = True ,
15
14
),
16
15
bval_scale = dict (argstr = '-bvalue_scaling %s' , ),
17
16
environ = dict (
@@ -38,18 +37,9 @@ def test_MRDeGibbs_inputs():
38
37
mandatory = True ,
39
38
position = - 2 ,
40
39
),
41
- maxW = dict (
42
- argstr = '-maxW %d' ,
43
- usedefault = True ,
44
- ),
45
- minW = dict (
46
- argstr = '-minW %d' ,
47
- usedefault = True ,
48
- ),
49
- nshifts = dict (
50
- argstr = '-nshifts %d' ,
51
- usedefault = True ,
52
- ),
40
+ maxW = dict (argstr = '-maxW %d' , ),
41
+ minW = dict (argstr = '-minW %d' , ),
42
+ nshifts = dict (argstr = '-nshifts %d' , ),
53
43
nthreads = dict (
54
44
argstr = '-nthreads %d' ,
55
45
nohash = True ,
You can’t perform that action at this time.
0 commit comments