atarashansky / SAMap

SAMap: Mapping single-cell RNA sequencing datasets from evolutionarily distant organisms.
MIT License
64 stars 19 forks source link

'coo_matrix' object has no attribute 'A' #150

Open dnjst opened 3 months ago

dnjst commented 3 months ago

Hi, during a step with the _filter_gnnm() function, I get the error

'coo_matrix' object has no attribute 'A'

I am using new scipy v1.14.0 which has deprecated the .A attribute.

Maybe this can be replaced with .toarray()?

These two files seem to contain this: samap/mapping.py and analysis.py