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

Numba njit warning (nopython is set for njit and is ignored) #916

Open
BenCaiello opened this issue Nov 25, 2024 · 0 comments
Open

Numba njit warning (nopython is set for njit and is ignored) #916

BenCaiello opened this issue Nov 25, 2024 · 0 comments
Assignees

Comments

@BenCaiello
Copy link

Description

Numba's njit decorator is presumably being called with (nopython = True/False) somewhere in squidpy, which creates a mildly irritating warning.

This warning is occurring consistently at import of squidpy.
Additionally, this warning was occurring inconsistently when calling sq.gr/pl.nhood_enrichment (happened when running from a script / GUI, did not happen when running in jupyter/ipython).

I looked in squidpy'scode base a bit couldn't find the instance where njit was being called with nopython specified, so maybe the issue is on numba's / some other dependency's end?

Minimal reproducible example

Image

This warning also occurred (sometimes) with:
sq.gr.nhood_enrichment

Version

python == 3.10
squidpy == 1.6.2

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