PaulHancock / Aegean

The Aegean source finding program and associated tools
http://aegeantools.rtfd.io/
Other
47 stars 14 forks source link

source_finder.py:1106: VisibleDeprecationWarning (using floats to index an array) #29

Closed PaulHancock closed 7 years ago

PaulHancock commented 8 years ago

This error:

/home/hancock/V-Py/bin/AegeanTools/source_finder.py:1106: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
  square = idata[xmn:xmx, ymn:ymx]

happens a lot with newer versions of numpy. It would be nice to remove the problem.

Has been happening for a while, it currently occurs in Aegean v2.0b-81-g6b1142c -(2016-09-08)

PaulHancock commented 7 years ago

related to / duplicate of #36. is now a critical problem for numpy v1.12 but has been fixed.