Datasets:

DOI:
License:
zhuwq0 commited on
Commit
2e74c2f
1 Parent(s): c8b078c
Files changed (1) hide show
  1. quakeflow_nc.py +2 -2
quakeflow_nc.py CHANGED
@@ -224,8 +224,8 @@ class QuakeFlow_NC(datasets.GeneratorBasedBuilder):
224
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
225
  urls = _URLS[self.config.name]
226
  # files = dl_manager.download(urls)
227
- # files = dl_manager.download_and_extract(urls)
228
- files = [f"waveform_h5/{x}" for x in _FILES]
229
  for file in sorted(files):
230
  print(file)
231
 
 
224
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
225
  urls = _URLS[self.config.name]
226
  # files = dl_manager.download(urls)
227
+ files = dl_manager.download_and_extract(urls)
228
+ # files = [f"waveform_h5/{x}" for x in _FILES]
229
  for file in sorted(files):
230
  print(file)
231