BodenmillerGroup / ImcSegmentationPipeline

A pixel classification based multiplexed image segmentation pipeline
https://bodenmillergroup.github.io/ImcSegmentationPipeline/
MIT License
83 stars 35 forks source link

Issue Generating the analysis stacks #50

Closed aleixriusr closed 3 years ago

aleixriusr commented 3 years ago

I am running the pipeline, and appears an error generating the analysis stacks.

ERROR:root:Error in 20200924_Disease_s0_p5_r1_a1_ac.ome.tiff Traceback (most recent call last): File "pandas_libs\parsers.pyx", line 1119, in pandas._libs.parsers.TextReader._convert_tokens File "pandas_libs\parsers.pyx", line 1244, in pandas._libs.parsers.TextReader._convert_with_dtype File "pandas_libs\parsers.pyx", line 1259, in pandas._libs.parsers.TextReader._string_convert File "pandas_libs\parsers.pyx", line 1450, in pandas._libs.parsers._string_box_utf8 UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdc in position 1: invalid continuation byte

I Imagine that maybe it is some issue with the csv file. My .zip file consist in 1 .mcd file and 4.txt files. All 4 samples where measured during the same experiment, but each of them has a panel slightly different.

Thanks, Aleix

votti commented 3 years ago

Hm that looks to me as you have a non UTF8 compatible sign in your csv. Can you try to resave the csv: https://www.webtoffee.com/how-to-save-csv-excel-file-as-utf-8-encoded/

Best, Vito

aleixriusr commented 3 years ago

Hi Vito,

I saved it as a Utf8 following the instructions of the link, and now is working! Saving it using Excel didn't work, so, I did it with the Notebook. Anyway, the problem is solve.

Thanks so much for your fast answer.

Best, Aleix

votti commented 3 years ago

Top!