Datasets:
EMBO
/

Languages:
English
ArXiv:
DOI:
License:
drAbreu commited on
Commit
beb8062
·
1 Parent(s): aec476b

Update SourceData.py

Browse files
Files changed (1) hide show
  1. SourceData.py +5 -5
SourceData.py CHANGED
@@ -171,23 +171,23 @@ class SourceData(datasets.GeneratorBasedBuilder):
171
 
172
  if self.config.name == "NER":
173
  url = self._URLS["NER"]
174
- data_dir = dl_manager.download_and_extract(url)
175
  data_dir += "/"
176
  elif self.config.name == "PANELIZATION":
177
  url = self._URLS["PANELIZATION"]
178
- data_dir = dl_manager.download_and_extract(url)
179
  data_dir += "/"
180
  elif self.config.name == "ROLES_GP":
181
  url = self._URLS["ROLES_GP"]
182
- data_dir = dl_manager.download_and_extract(url)
183
  data_dir += "/"
184
  elif self.config.name == "ROLES_SM":
185
  url = self._URLS["ROLES_SM"]
186
- data_dir = dl_manager.download_and_extract(url)
187
  data_dir += "/"
188
  elif self.config.name == "ROLES_MULTI":
189
  url = self._URLS["ROLES_MULTI"]
190
- data_dir = dl_manager.download_and_extract(url)
191
  data_dir += "/"
192
  else:
193
  raise ValueError(f"unkonwn config name: {self.config.name}")
 
171
 
172
  if self.config.name == "NER":
173
  url = self._URLS["NER"]
174
+ data_dir = dl_manager.download(url)
175
  data_dir += "/"
176
  elif self.config.name == "PANELIZATION":
177
  url = self._URLS["PANELIZATION"]
178
+ data_dir = dl_manager.download(url)
179
  data_dir += "/"
180
  elif self.config.name == "ROLES_GP":
181
  url = self._URLS["ROLES_GP"]
182
+ data_dir = dl_manager.download(url)
183
  data_dir += "/"
184
  elif self.config.name == "ROLES_SM":
185
  url = self._URLS["ROLES_SM"]
186
+ data_dir = dl_manager.download(url)
187
  data_dir += "/"
188
  elif self.config.name == "ROLES_MULTI":
189
  url = self._URLS["ROLES_MULTI"]
190
+ data_dir = dl_manager.download(url)
191
  data_dir += "/"
192
  else:
193
  raise ValueError(f"unkonwn config name: {self.config.name}")