NKI-CCB / DISCOVER

DISCOVER co-occurrence and mutual exclusivity analysis for cancer genomics data
Apache License 2.0
27 stars 6 forks source link

Error: DiscoverMatrix #22

Closed tatsuroyamaguchi closed 1 year ago

tatsuroyamaguchi commented 1 year ago

I ran Set up according to "An introduction to DISCOVER". However, when I run discover.DiscoverMatrix(mut), I get the following error:

スクリーンショット 2023-04-12 23 36 41

Could you help me? Thanks!

M1 mac MacOS 13.3.1 Jupyter Notebook 6.5.4 Python3.8

sashitt2 commented 1 year ago

It seems like __array_wrap__ has been deprecated (https://pandas.pydata.org/docs/whatsnew/v1.5.0.html?highlight=__array_wrap__#other-deprecations).

I installed an older version of pandas (1.4.4) to circumvent this issue. If you use conda, you could try conda install pandas==1.4.4

tatsuroyamaguchi commented 1 year ago

Thanks a lot!

scanisius commented 1 year ago

Thanks to you both for reporting and finding the cause of this issue. The new v0.9.5 release has a fix for this issue that is compatible with newer versions of pandas.

tatsuroyamaguchi commented 1 year ago

Many thanks for your kind correspondence!