Help with scvelo
1
0
Entering edit mode
13 months ago
Chris ▴ 340

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 • 1.5k views
ADD COMMENT
1
Entering edit mode

I bet you already tried this

ADD REPLY
1
Entering edit mode
12 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: 2473 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