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):
100100 desc = 'indicate the plane in which the data was acquired (axial = 0,1; '
101101 'coronal = 0,2; sagittal = 1,2' )
102102 nshifts = traits .Int (
103- default_value = 20 ,
104- usedefault = True ,
103+ 20 ,
105104 argstr = '-nshifts %d' ,
106105 desc = 'discretization of subpixel spacing (default = 20)' )
107106 minW = traits .Int (
108- default_value = 1 ,
109- usedefault = True ,
107+ 1 ,
110108 argstr = '-minW %d' ,
111109 desc = 'left border of window used for total variation (TV) computation '
112110 '(default = 1)' )
113111 maxW = traits .Int (
114- default_value = 3 ,
115- usedefault = True ,
112+ 3 ,
116113 argstr = '-maxW %d' ,
117114 desc = 'right border of window used for total variation (TV) computation '
118115 '(default = 3)' )
@@ -159,7 +156,7 @@ class MRDeGibbs(MRTrix3Base):
159156 >>> unring = mrt.MRDeGibbs()
160157 >>> unring.inputs.in_file = 'dwi.mif'
161158 >>> 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'
163160 >>> unring.run() # doctest: +SKIP
164161 """
165162
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ def test_MRDeGibbs_inputs():
1111 maxlen = 2 ,
1212 minlen = 2 ,
1313 sep = ',' ,
14- usedefault = True ,
1514 ),
1615 bval_scale = dict (argstr = '-bvalue_scaling %s' , ),
1716 environ = dict (
@@ -38,18 +37,9 @@ def test_MRDeGibbs_inputs():
3837 mandatory = True ,
3938 position = - 2 ,
4039 ),
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' , ),
5343 nthreads = dict (
5444 argstr = '-nthreads %d' ,
5545 nohash = True ,
You can’t perform that action at this time.
0 commit comments