theislab / graphcompass

GraphCompass: Graph Comparison Tools for Differential Analyses in Spatial Systems
MIT License
34 stars 0 forks source link

error in np.array() #57

Closed Bo-UT closed 5 months ago

Bo-UT commented 6 months ago

Hi,

Thanks for the nice package! I ran into ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (28,) + inhomogeneous part. My python version is 3.10.13. Thank you.

Screenshot 2024-05-20 at 6 14 17 AM Screenshot 2024-05-20 at 6 14 45 AM
mayarali commented 6 months ago

Hi @Bo-UT,

Could you please provide a screenshot showing the dimensions of your adata, in your case wt?

Bo-UT commented 6 months ago

Thank you! Here is the screen shot.

Screenshot 2024-05-26 at 7 35 58 AM
mayarali commented 6 months ago

@Bo-UT Thanks for sharing the screenshot! What is your cluster_key and library_key? And can you please specify how many samples (i.e. library_key) you have?

mayarali commented 5 months ago

@Bo-UT we will close this issue due to inactivity. Please feel free to open a new issue if you need further help.