Skip to content

Change np.in1d into np.isin as np.in1d will be deprecated with new versions of NumPy#40

Merged
rossant merged 1 commit into
cortex-lab:masterfrom
zm711:master
Dec 2, 2023
Merged

Change np.in1d into np.isin as np.in1d will be deprecated with new versions of NumPy#40
rossant merged 1 commit into
cortex-lab:masterfrom
zm711:master

Conversation

@zm711

@zm711 zm711 commented Sep 14, 2023

Copy link
Copy Markdown
Contributor

This is just to try to future-proof phylib since within a few releases this could lead to a hard error.
https://numpy.org/devdocs/release/2.0.0-notes.html
Then if this is approved it would either need a new pypi release or switching the build instruction for phy.

@JoeZiminski

Copy link
Copy Markdown

Hey @zm711 do you know who best to ping for a review?

@zm711

zm711 commented Nov 30, 2023

Copy link
Copy Markdown
Contributor Author

@JoeZiminski , I don't. For the main phy repo @rossant has responded in the past, but I don't know who is managing phylib currently.

@JoeZiminski

Copy link
Copy Markdown

Thanks @zm711, Hi @rossant hope things are good. I saw you have moved into a new position / research field so appreciate you may not have time to review e.g. also #41. Let me know if there is someone else to contact, thanks for your time!

@rossant

rossant commented Dec 2, 2023

Copy link
Copy Markdown
Contributor

Thanks for the PR! LGTM, merging. cc @oliche @mayofaulkner

@rossant rossant merged commit ec8e7e5 into cortex-lab:master Dec 2, 2023
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