cellphonedb icon indicating copy to clipboard operation
cellphonedb copied to clipboard

Error "Plan shapes are not aligned"

Open TehseusKunka opened this issue 4 years ago • 3 comments

I have built a new interaction database using uniprot. When I running cellphonedb method statistical_analysis , it comes to an error of "Plan shapes are not aligned". I have check the row and colnames of the counts data. Also I have tried to make a new interaction data which have no repeated genes. But it still comes error. 图片

TehseusKunka avatar Jul 14 '21 03:07 TehseusKunka

Hi @TehseusKunka "Plan shapes are not aligned" is a pandas error. Does the test data work on your environment or you get the same error? Before looking more into this, could you confirm your cellphonedb and pandas version? (pip show pandas cellphonedb)

prete avatar Jul 15 '21 11:07 prete

Thank you for reply. I have used the example test data on my environment and it did not get any error. The version of cellphonedb and pandas was 2.1.7 and 1.1.4. I wonder if it is caused by the amount of cells in my data. My data contains about 34000 cells data.

图片

Hi @TehseusKunka "Plan shapes are not aligned" is a pandas error. Does the test data work on your environment or you get the same error? Before looking more into this, could you confirm your cellphonedb and pandas version? (pip show pandas cellphonedb)

TehseusKunka avatar Jul 16 '21 08:07 TehseusKunka

I discovered a fix for this in https://github.com/Teichlab/cellphonedb/issues/260#issue-799520967, it may be worth taking a look at.

jmrussell avatar Aug 13 '21 16:08 jmrussell