Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing numpy module name #18

Closed
peterkennedy opened this issue Oct 23, 2014 · 3 comments
Closed

Missing numpy module name #18

peterkennedy opened this issue Oct 23, 2014 · 3 comments
Labels
Milestone

Comments

@peterkennedy
Copy link

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

@tboggs tboggs added the bug label Oct 23, 2014
@tboggs tboggs added this to the v0.16.1 milestone Oct 23, 2014
@tboggs
Copy link
Member

tboggs commented Oct 23, 2014

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.

@peterkennedy
Copy link
Author

Thanks for the code. I'm looking forward to using it.

@tboggs tboggs closed this as completed in 64619ba Oct 23, 2014
@tboggs
Copy link
Member

tboggs commented Oct 23, 2014

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants