blab / pathogen-embed

Create reduced dimension embeddings for pathogen sequences
https://pypi.org/project/pathogen-embed/
MIT License
1 stars 0 forks source link

NumbaDeprecationWarning with latest dependencies, as "nopython" argument is not supplied to numba.jit #1

Closed nandsra21 closed 1 year ago

nandsra21 commented 1 year ago

calling "embed" causes 4 or 5 of the same deprecation warning before any other output is printed.

Possible fix:

import warnings
warnings.filterwarnings("ignore", message=".*The 'nopython' keyword.*")

fix idea from here

huddlej commented 1 year ago

Resolved by https://github.com/blab/pathogen-embed/pull/2/commits/00af5f768f90b80f6adb8da32dd0bc78b7b86245