Skip to content

Commit 7256dc7

Browse files
committed
removed old code from doctests
1 parent 8b8712e commit 7256dc7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

nipype/interfaces/dipy/reconstruction.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ class RESTORE(DipyBaseInterface):
5757
Example
5858
-------
5959
60-
>>> import pysdcev.interfaces.reconstruction as pir
61-
>>> dti = pir.RESTORE()
60+
>>> from nipype.interfaces import dipy as ndp
61+
>>> dti = ndp.RESTORE()
6262
>>> dti.inputs.in_file = '4d_dwi.nii'
6363
>>> dti.inputs.in_bval = 'bvals'
6464
>>> dti.inputs.in_bvec = 'bvecs'
@@ -185,8 +185,8 @@ class EstimateResponseSH(DipyBaseInterface):
185185
Example
186186
-------
187187
188-
>>> import pysdcev.interfaces.reconstruction as pir
189-
>>> dti = pir.EstimateResponseSH()
188+
>>> from nipype.interfaces import dipy as ndp
189+
>>> dti = ndp.EstimateResponseSH()
190190
>>> dti.inputs.in_file = '4d_dwi.nii'
191191
>>> dti.inputs.in_bval = 'bvals'
192192
>>> dti.inputs.in_bvec = 'bvecs'
@@ -304,8 +304,8 @@ class CSD(DipyBaseInterface):
304304
Example
305305
-------
306306
307-
>>> import pysdcev.interfaces.reconstruction as pir
308-
>>> csd = pir.CSD()
307+
>>> from nipype.interfaces import dipy as ndp
308+
>>> csd = ndp.CSD()
309309
>>> csd.inputs.in_file = '4d_dwi.nii'
310310
>>> csd.inputs.in_bval = 'bvals'
311311
>>> csd.inputs.in_bvec = 'bvecs'

nipype/interfaces/dipy/tracks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ class StreamlineTractography(BaseInterface):
139139
Example
140140
-------
141141
142-
>>> import pysdcev.interfaces.reconstruction as pir
143-
>>> track = pir.StreamlineTractography()
142+
>>> from nipype.interfaces import dipy as ndp
143+
>>> track = ndp.StreamlineTractography()
144144
>>> track.inputs.in_file = '4d_dwi.nii'
145145
>>> track.inputs.in_model = 'model.pklz'
146146
>>> track.inputs.tracking_mask = 'dilated_wm_mask.nii'

0 commit comments

Comments
 (0)