change _URLS call in split_generators
Browse files
nba_tracking_data_15_16.py
CHANGED
@@ -149,7 +149,8 @@ class NbaTracking(datasets.GeneratorBasedBuilder):
|
|
149 |
# dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
|
150 |
# 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.
|
151 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
152 |
-
urls = _URLS[self.config.name]
|
|
|
153 |
data_dir = dl_manager.download_and_extract(urls)
|
154 |
|
155 |
all_file_paths = {}
|
|
|
149 |
# dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
|
150 |
# 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.
|
151 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
152 |
+
# urls = _URLS[self.config.name]
|
153 |
+
urls = self._URLS # trying Ouwen's format
|
154 |
data_dir = dl_manager.download_and_extract(urls)
|
155 |
|
156 |
all_file_paths = {}
|