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

Sometimes image data is None #18

Closed
DavidT3 opened this issue Jun 25, 2020 · 1 comment
Closed

Sometimes image data is None #18

DavidT3 opened this issue Jun 25, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@DavidT3
Copy link
Owner

DavidT3 commented Jun 25, 2020

For some reason image data is coming out as None when I try and plot it, for some images.

However a ratemap made of the same image seems to work fine?

@DavidT3 DavidT3 added the bug Something isn't working label Jun 25, 2020
@DavidT3 DavidT3 self-assigned this Jun 25, 2020
@DavidT3
Copy link
Owner Author

DavidT3 commented Jun 25, 2020

I'm an idiot, the view() method of the Image class was using self._data, rather than the data property, it meant that the files hadn't necessarily been read in.

@DavidT3 DavidT3 closed this as completed Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant