You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, there are two possible solutions:
Pin numpy < 2
Update empress.tools.shifting() to convert all bits in the input bitlist to int objects, rather than np.uint8 objects
For the time being, the first option is easier. But I imagine QIIME 2 will eventually move to using numpy 2, which will mean we'll have to go with the second option. (For reference: the latest release of Q2, 2024.5, uses numpy=1.26.4 -- which is literally the latest numpy version before the 2.x versions.)
Option 2 isn't really that bad -- I think just adding bitlist = [int(x) for x in bitlist] to line 3 of shifting() would fix the problem.
The text was updated successfully, but these errors were encountered:
Ideally we would test this on numpy v2, but I can't seem to get empress
running with numpy v2 on my system (get a cython error from iow).
in any case this should address the problem
As documented in #561.
As far as I can tell, there are two possible solutions:
numpy < 2
empress.tools.shifting()
to convert all bits in the inputbitlist
toint
objects, rather thannp.uint8
objectsFor the time being, the first option is easier. But I imagine QIIME 2 will eventually move to using numpy 2, which will mean we'll have to go with the second option. (For reference: the latest release of Q2, 2024.5, uses
numpy=1.26.4
-- which is literally the latest numpy version before the 2.x versions.)Option 2 isn't really that bad -- I think just adding
bitlist = [int(x) for x in bitlist]
to line 3 ofshifting()
would fix the problem.The text was updated successfully, but these errors were encountered: