simonwm / tacco

TACCO: Transfer of Annotations to Cells and their COmbinations
BSD 3-Clause "New" or "Revised" License
44 stars 1 forks source link

Error caused by scipy version: 'csr_matrix' object has no attribute 'A' #20

Closed Biogod2020 closed 3 months ago

Biogod2020 commented 3 months ago

Since the shorthand .Afor convertomg the csr_matrix to numpy.ndarray has been deprecated in the latest version of scipy. Directly running the raw count for annotation would encounter this error message.

I solved this by modify the environment.yml to ` name: TACCO_env channels:

`

JWatter commented 3 months ago

Hi @Biogod2020,

Thanks for letting us know about the errors introduced by the upstream release of scipy! We put out a new tacco release, see the release notes, which takes care off the deprecated functions and includes further maintenance. The recommended way of installing is via conda again: conda install -c conda-forge tacco