EC2 Default User commited on
Commit
cbe9146
·
1 Parent(s): 8f67062

update encoding

Browse files
Files changed (1) hide show
  1. oas-paired-sequence-data.py +1 -2
oas-paired-sequence-data.py CHANGED
@@ -23,7 +23,6 @@ Paired heavy and light chain antibody sequences for multiple species.
23
  _HOMEPAGE = "https://opig.stats.ox.ac.uk/webapps/oas/"
24
 
25
  _LICENSE = "cc-by-4.0"
26
-
27
  _BASE_URL = "https://aws-hcls-ml.s3.amazonaws.com/oas-paired-sequence-data/processed/"
28
  _URLS = {
29
  # "human": _BASE_URL + "human.zip",
@@ -97,7 +96,7 @@ class OasPairedSequenceData(datasets.GeneratorBasedBuilder):
97
  ]
98
 
99
  def _generate_examples(self, filepath, split):
100
- with open(filepath, encoding="utf-8", newline="") as f:
101
  reader = csv.reader(f, delimiter=",")
102
  for key, row in enumerate(reader):
103
  if key == 0:
 
23
  _HOMEPAGE = "https://opig.stats.ox.ac.uk/webapps/oas/"
24
 
25
  _LICENSE = "cc-by-4.0"
 
26
  _BASE_URL = "https://aws-hcls-ml.s3.amazonaws.com/oas-paired-sequence-data/processed/"
27
  _URLS = {
28
  # "human": _BASE_URL + "human.zip",
 
96
  ]
97
 
98
  def _generate_examples(self, filepath, split):
99
+ with open(filepath, newline="") as f:
100
  reader = csv.reader(f, delimiter=",")
101
  for key, row in enumerate(reader):
102
  if key == 0: