remove hack
Browse files- binding_affinity.py +1 -6
binding_affinity.py
CHANGED
|
@@ -109,12 +109,7 @@ class BindingAffinity(datasets.ArrowBasedBuilder):
|
|
| 109 |
# dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLs
|
| 110 |
# It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
|
| 111 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
| 112 |
-
|
| 113 |
-
if os.path.exists(dl_manager._base_path):
|
| 114 |
-
# this is a hack to force the use of the local copy
|
| 115 |
-
files = dl_manager.download_and_extract({fn: os.path.join(dl_manager._base_path, _file_names[fn]) for fn in _file_names})
|
| 116 |
-
else:
|
| 117 |
-
files = dl_manager.download_and_extract(_URLs)
|
| 118 |
|
| 119 |
return [
|
| 120 |
datasets.SplitGenerator(
|
|
|
|
| 109 |
# dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLs
|
| 110 |
# It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
|
| 111 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
| 112 |
+
files = dl_manager.download_and_extract(_URLs)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
return [
|
| 115 |
datasets.SplitGenerator(
|