theislab / moscot

Multi-omic single-cell optimal transport tools
https://moscot-tools.org
BSD 3-Clause "New" or "Revised" License
101 stars 9 forks source link

Fix for 'csr_matrix' object has no attribute 'A' Error #719

Closed selmanozleyen closed 2 days ago

selmanozleyen commented 1 week ago

This pull request addresses the issue where the 'csr_matrix' object in the scipy.sparse module does not have an attribute 'A'. This error occurs because the correct attribute to use is toarray() for converting sparse matrices to dense format.

Changes Made