Skip to content

Commit 6512e7a

Browse files
committed
fix typo and update docstrings
1 parent 51b6f15 commit 6512e7a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nipype/interfaces/mrtrix3/preprocess.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class DWIDenoiseInputSpec(MRTrix3BaseInputSpec):
2121
mask = File(
2222
exists=True,
2323
argstr='-mask %s',
24-
#osition=1,
24+
position=1,
2525
desc='mask image')
2626
extent = traits.Tuple((traits.Int, traits.Int, traits.Int),
2727
argstr='-extent %d,%d,%d',
@@ -71,7 +71,7 @@ class DWIDenoise(MRTrix3Base):
7171
>>> denoise.inputs.in_file = 'dwi.mif'
7272
>>> denoise.inputs.mask = 'mask.mif'
7373
>>> denoise.cmdline # doctest: +ELLIPSIS
74-
'dwidenoise -mask mask.mif dwi.mif dwi_denoised.mif'
74+
'dwidenoise -mask mask.mif -noise dwi_noisemap.mif dwi.mif dwi_denoised.mif'
7575
>>> denoise.run() # doctest: +SKIP
7676
"""
7777

@@ -156,7 +156,7 @@ class MRDeGibbs(MRTrix3Base):
156156
>>> unring = mrt.MRDeGibbs()
157157
>>> unring.inputs.in_file = 'dwi.mif'
158158
>>> unring.cmdline # doctest: +ELLIPSIS
159-
'mrdegibbs dwi.mif dwi_unr.mif'
159+
'mrdegibbs -axes 0,1 -maxW 3 -minW 1 -nshifts 20 dwi.mif dwi_unr.mif'
160160
>>> unring.run() # doctest: +SKIP
161161
"""
162162

@@ -228,7 +228,7 @@ class DWIBiasCorrect(MRTrix3Base):
228228
>>> bias_correct = mrt.DWIBiasCorrect()
229229
>>> bias_correct.inputs.in_file = 'dwi.mif'
230230
>>> bias_correct.cmdline # doctest: +ELLIPSIS
231-
'dwibiascorrect -ants dwi.mif dwi_biascorr.mif'
231+
'dwibiascorrect -ants -bias dwi_biasfield.mif dwi.mif dwi_biascorr.mif'
232232
>>> bias_correct.run() # doctest: +SKIP
233233
"""
234234

0 commit comments

Comments
 (0)