squidpy
squidpy copied to clipboard
Numba njit warning (nopython is set for njit and is ignored)
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
This warning also occurred (sometimes) with: sq.gr.nhood_enrichment
Version
python == 3.10 squidpy == 1.6.2