Skip to content
Snippets Groups Projects
Commit 1aa738be authored by Hottlet Valentin's avatar Hottlet Valentin
Browse files

resolve encoding issues (AGgrid)

parent 34b217a9
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ def process_one_row_from_peptide_table(row, i, file=None, warning_on=False):
def parse_peptide_table(peptide_table_file_name, warning_on):
set_of_markers=set()
peptide_table = csv.DictReader(open(peptide_table_file_name), delimiter="\t")
peptide_table = csv.DictReader(open(peptide_table_file_name, encoding="utf-8-sig"), delimiter="\t")
list_of_headers=list(map(utils.clean, peptide_table.fieldnames))
for i,row in enumerate(peptide_table):
# cleaned_row = {key.replace(" ","").lower():value for key, value in row.items()}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment