Help with scvelo
1
0
Entering edit mode
4 months ago
Chris ▴ 260

Hi Biostars,

I try to use scvelo but got this error message:

scv.tl.velocity_graph(adata)

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (1, 4) + inhomogeneous part.

This is a math error but not sure how to fix it. Would you please have a suggestion? Thank you so much and have a nice week!

scvelo • 903 views
ADD COMMENT
1
Entering edit mode

I bet you already tried this

ADD REPLY
1
Entering edit mode
3 months ago
Prakki Rama ★ 2.7k

I had same issue.

But this resolved my error:

conda create -n scvelo_env python=3.9
conda activate scvelo_env
conda install numpy scipy cython numba matplotlib scikit-learn h5py click
pip install notebook
pip install scanpy
pip install leidenalg
pip install scvelo
pip install pandas==1.1.5 
pip install numpy==1.21.1
ADD COMMENT

Login before adding your answer.

Traffic: 2326 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6