cmap/cmapPy

'utf-8' codec Error when parsing gctx

Hoa-Lab opened this issue · 1 comments

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.

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