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

setdefault errors since photons is a numpy array #158

Open
Eddie-Chile opened this issue Sep 3, 2022 · 1 comment
Open

setdefault errors since photons is a numpy array #158

Eddie-Chile opened this issue Sep 3, 2022 · 1 comment

Comments

@Eddie-Chile
Copy link

Eddie-Chile commented Sep 3, 2022

data['temporal'][exposure].setdefault(photons, {})

This call failed for me since numpy array is not hashable. I grabbed the mean of the array as a workaround.

@fariza
Copy link
Contributor

fariza commented Sep 7, 2022

@Eddie-Chile do you mind sharing a small snippet that reproduces the issue?

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

No branches or pull requests

2 participants