cmap / cmapPy

Assorted tools for interacting with .gct, .gctx files and other Connectivity Map (Broad Institute) data/tools
https://clue.io/cmapPy/index.html
BSD 3-Clause "New" or "Revised" License
124 stars 74 forks source link

'utf-8' codec Error when parsing gctx #69

Closed Hoa-Lab closed 3 years ago

Hoa-Lab commented 3 years ago

Here is my code: " from cmapPy.pandasGEXpress.parse_gct import parse f='./GSE70138_Broad_LINCS_Level5_COMPZ_n118050x12328_2017-03-06.gctx' x=parse(f) " It shows: " UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte "

Version: cmapPy 4.0 python 3.8.2

Any suggestions? Thanks.

Hoa-Lab commented 3 years ago

Figured it out that I should use ' cmapPy.pandasGEXpress.parse_gctx'