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

lru_cache doesn't work with 'np.ndarray' as argument #31

Closed
ArjunPutcha opened this issue May 30, 2022 · 2 comments
Closed

lru_cache doesn't work with 'np.ndarray' as argument #31

ArjunPutcha opened this issue May 30, 2022 · 2 comments

Comments

@ArjunPutcha
Copy link
Collaborator

See cnmf.py, CNMFExtensions._get_spatial_contours
Passing np.ndarray for ixs_components yields the following error: "TypeError: unhashable type: 'numpy.ndarray'"

@kushalkolar
Copy link
Collaborator

@clewis7 it would be useful to add tests to check the return vals of these functions with ixs_components passed, as well as different combinations of kwargs when relevant.

@kushalkolar
Copy link
Collaborator

custom LRU cache being implemented in #62

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