jglaser commited on
Commit
3e4676d
1 Parent(s): 1b1c7d1

try fix download

Browse files
Files changed (1) hide show
  1. binding_affinity.py +1 -2
binding_affinity.py CHANGED
@@ -121,13 +121,12 @@ class BindingAffinity(datasets.ArrowBasedBuilder):
121
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
122
  my_urls = _URLs[self.config.name]
123
  files = dl_manager.download_and_extract(my_urls)
124
- data_dir = os.path.dirname(files[0])+'/'
125
  return [
126
  datasets.SplitGenerator(
127
  name=datasets.Split.TRAIN,
128
  # These kwargs will be passed to _generate_examples
129
  gen_kwargs={
130
- "filepath": os.path.join(data_dir, "all.parquet"),
131
  "split": "train",
132
  },
133
  ),
 
121
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
122
  my_urls = _URLs[self.config.name]
123
  files = dl_manager.download_and_extract(my_urls)
 
124
  return [
125
  datasets.SplitGenerator(
126
  name=datasets.Split.TRAIN,
127
  # These kwargs will be passed to _generate_examples
128
  gen_kwargs={
129
+ "filepath": files[0],
130
  "split": "train",
131
  },
132
  ),