Closed jhaberbe closed 2 months ago
Hi @jhaberbe,
Indeed, the new update of scipy
has deprecated the use of .A
, see https://github.com/saezlab/decoupler-py/issues/139#issuecomment-2202925991. I made a quick patch to fix it that can be installed running:
pip install git+https://github.com/saezlab/decoupler-py.git
Hope this is helpful!
Oh shoot my B, I'm three weeks late. Thanks!
Describe the bug When computing pseudobulk using the following code:
I get:
Expected behavior I expect pseudobulking.
System NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"
Additional context The problem is just that newer versions of anndata don't seem to like using the .A accessor, and instead want to use the .todense accessor. When I went into the module code and changed the accessor to '.todense()', it fixed the problem.