MariaRamosZ / Trellis_how_to

This is a step by step tutorial on how to implement Trellis in a training dataset.
2 stars 0 forks source link

encoding error Metadata_PDO21 #1

Open LutzFreytag2024 opened 8 months ago

LutzFreytag2024 commented 8 months ago

Hello, I want to run the tutorial. By executing: raw_df = pd.read_csv(r"/stornext/Bioinf/data/lab_brain_cancer/users/l_freytag/data/plasticity/trellis/tutorial/Metadata_PDO21")

the error message

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf8 in position 10: invalid start byte

Any other encoder doesn´t work either. A similar encoding error occures with Metadata_final_paper

Any help is highly appreciated.

Cheers, Lutz

MariaRamosZ commented 8 months ago

Hi Lutz,

It seems like your file might be compromised, have you tried unzipping it through the terminal first? It should be a csv file that you are reading.

Best,

Maria.

LutzFreytag2024 commented 8 months ago

Hi Maria,

thanks - this solved the problem.

Cheers, Lutz

Von: Maria Ramos @.> Gesendet: Mittwoch, 6. März 2024 14:14 An: MariaRamosZ/Trellis_how_to @.> Cc: Lutz Freytag @.>; Author @.> Betreff: Re: [MariaRamosZ/Trellis_how_to] encoding error Metadata_PDO21 (Issue #1)

Hi Lutz,

It seems like your file might be compromised, have you tried unzipping it through the terminal first? It should be a csv file that you are reading.

Best,

Maria.

— Reply to this email directly, view it on GitHubhttps://github.com/MariaRamosZ/Trellis_how_to/issues/1#issuecomment-1980849652, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BGWYOB2B5BDXND77EGA47ADYW4JB7AVCNFSM6AAAAABEHXD7Z2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBQHA2DSNRVGI. You are receiving this because you authored the thread.Message ID: @.**@.>>