wyxu commited on
Commit
819893b
·
1 Parent(s): 7b21eaf

Update Genome_database.py

Browse files
Files changed (1) hide show
  1. Genome_database.py +5 -5
Genome_database.py CHANGED
@@ -32,11 +32,11 @@ class GenomeDataset(datasets.GeneratorBasedBuilder):
32
  })
33
  )
34
 
35
- def load_genome_dataset(num_urls=None):
36
- builder_kwargs = {}
37
- if num_urls is not None:
38
- builder_kwargs['config'] = GenomeDatasetConfig(num_urls=num_urls)
39
- return load_dataset("GenomeDataset", builder_kwargs=builder_kwargs)
40
 
41
  def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
42
  urls_filepath = dl_manager.download_and_extract('urlfile.txt')
 
32
  })
33
  )
34
 
35
+ # def load_genome_dataset(num_urls=None):
36
+ # builder_kwargs = {}
37
+ # if num_urls is not None:
38
+ # builder_kwargs['config'] = GenomeDatasetConfig(num_urls=num_urls)
39
+ # return load_dataset("GenomeDataset", builder_kwargs=builder_kwargs)
40
 
41
  def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
42
  urls_filepath = dl_manager.download_and_extract('urlfile.txt')