Skip to content

Update core.py for numpy > 1.20.0 #25

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

dnjst
Copy link

@dnjst dnjst commented Apr 16, 2025

I did a simple find and replace of np.int with built-in python int

This is described at https://numpy.org/devdocs/release/1.20.0-notes.html

Note this: When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. I did not do this.

With this, harmonyTS runs on my recent python 3.11 with latest scanpy and numpy==2.1.3

replace np.int with int
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.

1 participant