luispedro / mahotas

Computer Vision in Python
https://mahotas.rtfd.io
Other
839 stars 147 forks source link

Import Warning #8

Closed jrosebr1 closed 12 years ago

jrosebr1 commented 12 years ago

I installed mahotas by cloning the GitHub repo and then running setup.py build and setup.py install for Python 2.6 on Ubuntu 11.04. When I go to import mahatos I get the following warning:

>>> import mahotas
/usr/local/lib/python2.6/dist-packages/mahotas-0.8.1-py2.6-linux-x86_64.egg/mahotas/moments.py:6: DeprecationWarning: Use

from mahotas.features import moments

  ''', DeprecationWarning)
'''
luispedro commented 12 years ago

Thank you for the report. Just fixed it.

jrosebr1 commented 12 years ago

Excellent, thanks!