Skip to content

Commit c33dd75

Browse files
chg: Solve issue with quotes in tsv files
Caused when laoding Rodrigues data with load_tsv
1 parent 966cba8 commit c33dd75

File tree

1 file changed

+1
-1
lines changed
  • deep_reference_parser/io

1 file changed

+1
-1
lines changed

deep_reference_parser/io/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def load_tsv(filepath, split_char="\t"):
9898
filepath.
9999
100100
"""
101-
df = pd.read_csv(filepath, delimiter=split_char, header=None, skip_blank_lines=False)
101+
df = pd.read_csv(filepath, delimiter=split_char, header=None, skip_blank_lines=False, encoding="utf-8", quoting=csv.QUOTE_NONE, engine="python")
102102

103103
tuples = _split_list_by_linebreaks(df.to_records(index=False))
104104

0 commit comments

Comments
 (0)