Skip to content

Resolve warnings of NumPy library#3917

Merged
h-mayorquin merged 1 commit into
SpikeInterface:mainfrom
emmanuel-ferdman:main
May 13, 2025
Merged

Resolve warnings of NumPy library#3917
h-mayorquin merged 1 commit into
SpikeInterface:mainfrom
emmanuel-ferdman:main

Conversation

@emmanuel-ferdman
Copy link
Copy Markdown
Contributor

PR Summary

This small PR resolves the NumPy deprecation warnings of np.in1d which you can find in the CI Logs:

DeprecationWarning: `in1d` is deprecated. Use `np.isin` instead.

It also fixes a few typos along the way.

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Copy link
Copy Markdown
Member

@zm711 zm711 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine to me @samuelgarcia you're good with this too?

Thanks for the contribution.

@h-mayorquin
Copy link
Copy Markdown
Collaborator

This has come before and I think that Sam is ok with it. Let's merge this to save our precious Sam's review time to other PRs.

@h-mayorquin h-mayorquin merged commit 85f4ff3 into SpikeInterface:main May 13, 2025
15 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.

3 participants