File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
nipype/interfaces/mrtrix3 Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,8 @@ class FitTensorInputSpec(MRTrix3BaseInputSpec):
3939 'rician' ,
4040 argstr = '-method %s' ,
4141 desc = ('select method used to perform the fitting' ))
42-
43-
44- class FitTensorInputSpec0_3_13 (FitTensorInputSpec ):
4542 reg_term = traits .Float (
46- 5.e3 , usedefault = True ,
43+ 5.e3 ,
4744 argstr = '-regularisation %f' ,
4845 max_ver = '0.3.13' ,
4946 desc = ('specify the strength of the regularisation term on the '
@@ -75,10 +72,7 @@ class FitTensor(MRTrix3Base):
7572 """
7673
7774 _cmd = 'dwi2tensor'
78- if Info .looseversion () < LooseVersion ("0.3.14" ):
79- input_spec = FitTensorInputSpec0_3_13
80- else :
81- input_spec = FitTensorInputSpec
75+ input_spec = FitTensorInputSpec
8276 output_spec = FitTensorOutputSpec
8377
8478 def _list_outputs (self ):
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ def test_FitTensor_inputs():
3535 reg_term = dict (
3636 argstr = '-regularisation %f' ,
3737 max_ver = '0.3.13' ,
38- usedefault = True ,
3938 ),
4039 )
4140 inputs = FitTensor .input_spec ()
You can’t perform that action at this time.
0 commit comments