ArnaoutLab / diversity

Partitioned frequency- and similarity-sensitive diversity in Python
MIT License
6 stars 1 forks source link

not accepting csr_array for counts #52

Closed chhotii-alex closed 1 year ago

chhotii-alex commented 1 year ago

Some of the pytest tests are failing because they instantiate a csr_array for counts. The folks at scipy are changing things, and apparently csr_array is no longer a subclass of spmatrix, so the make_abundance function is rejecting it. See the note on this page: https://docs.scipy.org/doc/scipy/reference/sparse.html Seems this is going to need paying attention to, as this transition may still be in progress?

chhotii-alex commented 1 year ago

fixed with commit b4074b5e400f14f6490e38209474eb908edf6e8e