Skip to content

Commit

Permalink
DOC: Fix method name typo in deprecation warning
Browse files Browse the repository at this point in the history
Fix method name typo in deprecation warning.
  • Loading branch information
jhlegarreta committed Nov 5, 2021
1 parent b126fb8 commit 36e0b9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dipy/reconst/shm.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def real_sh_descoteaux(sh_order, theta, phi,
return real_sh, m, n


@deprecate_with_version('dipy.reconst.shm.real_sym_sh_mrtix is deprecated, '
@deprecate_with_version('dipy.reconst.shm.real_sym_sh_mrtrix is deprecated, '
'Please use dipy.reconst.shm.real_sh_tournier instead',
since='1.3', until='2.0')
def real_sym_sh_mrtrix(sh_order, theta, phi):
Expand Down
2 changes: 1 addition & 1 deletion dipy/reconst/tests/test_shm.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_real_sym_sh_mrtrix():
npt.assert_equal(len(w), 2)
npt.assert_(issubclass(w[0].category, DeprecationWarning))
npt.assert_(
"dipy.reconst.shm.real_sym_sh_mrtix is deprecated, Please use "
"dipy.reconst.shm.real_sym_sh_mrtrix is deprecated, Please use "
"dipy.reconst.shm.real_sh_tournier instead" in str(w[0].message))
npt.assert_(issubclass(w[1].category, PendingDeprecationWarning))
npt.assert_(
Expand Down

0 comments on commit 36e0b9d

Please sign in to comment.