Update Genome_database.py
Browse files- Genome_database.py +1 -1
Genome_database.py
CHANGED
@@ -32,7 +32,7 @@ class GenomeDataset(datasets.GeneratorBasedBuilder):
|
|
32 |
})
|
33 |
)
|
34 |
|
35 |
-
def _split_generators(
|
36 |
urls_filepath = dl_manager.download_and_extract('urlfile.txt')
|
37 |
with open(urls_filepath) as urls_file:
|
38 |
downloaded_files = [line.rstrip() for line in urls_file]
|
|
|
32 |
})
|
33 |
)
|
34 |
|
35 |
+
def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
|
36 |
urls_filepath = dl_manager.download_and_extract('urlfile.txt')
|
37 |
with open(urls_filepath) as urls_file:
|
38 |
downloaded_files = [line.rstrip() for line in urls_file]
|