Closed peterkennedy closed 10 years ago
I must have missed that during code cleanup. Looks like the same issue appears at line 860. I'll fix it shortly and create a 0.16.1 release.
Thanks for the code. I'm looking forward to using it.
@peterkennedy Thanks for the bug report. It is now fixed. I will put out a bug-fix release (0.16.1) in a week or so. In the mean time, you can install the current code by either downloading and installing a zipfile of the current code from the project page on GitHub or - if you are using pip - you can install the current code like this:
pip install -I git+git://github.com/spectralpython/spectral.git
For version 0.16.0:
In algorithms.py, line 97, the 'numpy' module name is missing from the call to not_equal:
File "F:\conda\lib\site-packages\spectral\algorithms\algorithms.py", line 97, in init self.mask = not_equal(mask, 0)
NameError: global name 'not_equal' is not defined