ProgramComputer
commited on
Commit
•
74bf682
1
Parent(s):
6d20e86
Update test.py
Browse files
test.py
CHANGED
@@ -285,8 +285,8 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
285 |
for target in targets
|
286 |
)
|
287 |
)
|
288 |
-
mapped_paths = dl_manager.
|
289 |
-
|
290 |
placeholder_key,
|
291 |
dict(
|
292 |
(target, _URLS[target][placeholder_key])
|
@@ -294,9 +294,10 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
294 |
),
|
295 |
)
|
296 |
for placeholder_key in ("placeholder","test")
|
297 |
-
)
|
|
|
298 |
|
299 |
-
|
300 |
|
301 |
# tmp_paths = dl_manager.extract_and_download(
|
302 |
|
|
|
285 |
for target in targets
|
286 |
)
|
287 |
)
|
288 |
+
mapped_paths = dl_manager.extract( dl_manager.custom_download(
|
289 |
+
dict( (
|
290 |
placeholder_key,
|
291 |
dict(
|
292 |
(target, _URLS[target][placeholder_key])
|
|
|
294 |
),
|
295 |
)
|
296 |
for placeholder_key in ("placeholder","test")
|
297 |
+
)
|
298 |
+
))
|
299 |
|
300 |
+
raise Exception(mapped_paths)
|
301 |
|
302 |
# tmp_paths = dl_manager.extract_and_download(
|
303 |
|