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

[Fix] slicing BinnedSpikeTrain with scipy>=1.15.0 #653

Merged
merged 6 commits into from
Jan 8, 2025

Conversation

Moritz-Alexander-Kern
Copy link
Member

Fix slicing behavior in the BinnedSpikeTrain class.

With the release of SciPy 1.15.0, a change in scipy/scipy/sparse/_index.py affected the def _validate_indices(self, key) function. This function now returns two tuples instead of one.

This issue was resolved by unpacking the first argument accordingly.

@coveralls
Copy link
Collaborator

coveralls commented Jan 6, 2025

Coverage Status

coverage: 88.262% (+0.008%) from 88.254%
when pulling f3fc809 on INM-6:fix/scipy_1.15.0
into 7fa7bc9 on NeuralEnsemble:master.

@Moritz-Alexander-Kern Moritz-Alexander-Kern merged commit 3d54e99 into NeuralEnsemble:master Jan 8, 2025
11 of 13 checks passed
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

Successfully merging this pull request may close these issues.

2 participants