Skip to content

Commit

Permalink
cfDNA_postfiltering.py: Bugfix: also read UTF-16 files
Browse files Browse the repository at this point in the history
  • Loading branch information
leonschuetz committed Apr 6, 2023
1 parent 8061076 commit 4db3ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfDNA_postfiltering.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def load_sample_file(path):
break

# read TSV file
tsv = pd.read_csv(path, sep='\t', header=0, skiprows=skip_rows)
tsv = pd.read_csv(path, sep='\t', header=0, skiprows=skip_rows, encoding="ISO-8859-1")

# remove previous annotations
if "Tumor_Filter" in tsv.columns:
Expand Down

0 comments on commit 4db3ee8

Please sign in to comment.