Open hvgogogo opened 5 months ago
Hello, I met the same problem. o(╥﹏╥)o
Hello, I met the same problem. o(╥﹏╥)o
after screening the codes, i find that the problem arised from function: get_sparse_from_igraph()
it works if you modify the codes from: if len(edges) > 0: return csr_matrix((weights, zip(edges)), shape=shape) to: rows, cols = zip(edges) if len(edges) > 0: return csr_matrix((weights, (rows, cols)), shape=shape)
😃
Hello, I met the same problem. o(╥﹏╥)o
after screening the codes, i find that the problem arised from function: get_sparse_from_igraph()
it works if you modify the codes from: if len(edges) > 0: return csr_matrix((weights, zip(edges)), shape=shape) to: rows, cols = zip(edges) if len(edges) > 0: return csr_matrix((weights, (rows, cols)), shape=shape)
😃
I install scipy==1.11.4 to avoid the self._check() error, and solve this problem.
I am having the same problem. Installing scipy==1.11.4 got rid of this problem but I got another error instead when running scv.tl.paga: TypeError: sparse array length is ambiguous; use getnnz() or shape[0]
Hello, I met the same problem. o(╥﹏╥)o
after screening the codes, i find that the problem arised from function: get_sparse_from_igraph()
it works if you modify the codes from: if len(edges) > 0: return csr_matrix((weights, zip(edges)), shape=shape) to: rows, cols = zip(edges) if len(edges) > 0: return csr_matrix((weights, (rows, cols)), shape=shape)
😃
it worked!~~~ thx~
Hi team, I used the example data to run the scv.tl.page step and encounts the following error. I guess it's the imcompelity with paga.compute_transitions() funtion? many thanks ...
Error output
```pytb # paste the error output here, if applicable ```Versions
```pytb # paste the ouput of scv.logging.print_versions() here scvelo==0.3.2 scanpy==1.10.1 anndata==0.10.7 loompy==3.0.7 numpy==1.26.4 scipy==1.13.0 matplotlib==3.8.4 sklearn==1.4.2 pandas==2.2.2 ```