Teichlab / cellphonedb

MIT License
342 stars 105 forks source link

ValueError("Plan shapes are not aligned") #313

Open kkamii opened 3 years ago

kkamii commented 3 years ago

Hello !

I got this issue when running statistical_analysis method

image

my code is "cellphonedb method statistical_analysis ../../patient3_meta.txt ../../patient3.h5ad"

I don't know why this type of error occured.

How can i fix it??

help me..

prete commented 3 years ago

Hi @kkamii could you provide your CellPhoneDB and Pandas version (pip show cellphonedb pandas)? That value error usually comes from pandas DataFrame.concat(...) function failing to integrate to DataFrames. Are you using a custom database or the default one (v.2.0.0)?

kkamii commented 3 years ago

hello @prete !

thank you for your answer

I'm using default database v.2.0.0 and I captured my cellphonedb & pandas version 캡처

prete commented 3 years ago

@kkamii that looks OK. At what stage of the process you see that error(could you paste the whole output?). Additionally, could you share your meta/counts file with us to troubleshoot his? If you can't, I'd recommend you try reducing the number of cells in dataset (shrinking the cells in your meta or counts) and see if you get the same error.