Skip to content

Commit 706ecec

Browse files
committed
Fixed model to 2
1 parent 232933b commit 706ecec

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

nipype/interfaces/fsl/dti.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class FSLXCommandInputSpec(FSLCommandInputSpec):
114114
n_fibres = traits.Range(
115115
usedefault=True, low=1, default=2, argstr='--nfibres=%d',
116116
desc=('Maximum number of fibres to fit in each voxel'), mandatory=True)
117-
model = traits.Enum(1, 2, argstr='--model=%d',
117+
model = traits.Enum(1, 2, 3, argstr='--model=%d',
118118
desc=('use monoexponential (1, default, required for '
119119
'single-shell) or multiexponential (2, multi-'
120120
'shell) model'))
@@ -246,7 +246,7 @@ class BEDPOSTX5InputSpec(FSLXCommandInputSpec):
246246
n_fibres = traits.Range(
247247
usedefault=True, low=1, default=2, argstr='-n %d',
248248
desc=('Maximum number of fibres to fit in each voxel'), mandatory=True)
249-
model = traits.Enum(1, 2, argstr='-model %d',
249+
model = traits.Enum(1, 2, 3, argstr='-model %d',
250250
desc=('use monoexponential (1, default, required for '
251251
'single-shell) or multiexponential (2, multi-'
252252
'shell) model'))

nipype/workflows/dmri/fsl/tests/test_dti.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def test_create_bedpostx_pipeline():
5151
nipype_bedpostx.inputs.xfibres.sample_every = 1
5252
nipype_bedpostx.inputs.xfibres.cnlinear = True
5353
nipype_bedpostx.inputs.xfibres.seed = 0
54+
nipype_bedpostx.inputs.xfibres.model = 2
5455

5556
with warnings.catch_warnings():
5657
warnings.simplefilter("ignore")
@@ -64,6 +65,7 @@ def test_create_bedpostx_pipeline():
6465
original_bedpostx.inputs.n_jumps = 1
6566
original_bedpostx.inputs.sample_every = 1
6667
original_bedpostx.inputs.seed = 0
68+
original_bedpostx.inputs.model = 2
6769

6870
test_f1 = pe.Node(util.AssertEqual(), name="mean_f1_test")
6971

0 commit comments

Comments
 (0)