Skip to content

Commit 6a4a8b0

Browse files
committed
Import DTI at the module level __init__.py
1 parent aa061ae commit 6a4a8b0

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

nipype/interfaces/dipy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from .tracks import TrackDensityMap
2-
from .tensors import TensorMode
2+
from .tensors import TensorMode, DTI
33
from .preprocess import Resample, Denoise

nipype/interfaces/dipy/tensors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class TensorMode(BaseInterface):
164164
>>> mode.inputs.in_file = 'diffusion.nii'
165165
>>> mode.inputs.bvecs = 'bvecs'
166166
>>> mode.inputs.bvals = 'bvals'
167-
>>> mode.inputs.mask = 'wm_mask.nii'
167+
>>> mode.inputs.mask_file = 'wm_mask.nii'
168168
>>> mode.run() # doctest: +SKIP
169169
"""
170170
input_spec = TensorModeInputSpec

nipype/interfaces/dipy/tests/test_auto_DTI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def test_DTI_inputs():
99
),
1010
in_file=dict(mandatory=True,
1111
),
12-
mask_file=dict(mandatory=False,
12+
mask_file=dict(mandatory=False,
1313
),
1414
out_filename=dict(genfile=True,
1515
),

nipype/interfaces/dipy/tests/test_auto_TensorMode.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ def test_TensorMode_inputs():
99
),
1010
in_file=dict(mandatory=True,
1111
),
12+
mask_file=dict(mandatory=False,
13+
),
1214
out_filename=dict(genfile=True,
1315
),
1416
)

0 commit comments

Comments
 (0)