tomersagi commited on
Commit
3aceff6
·
1 Parent(s): 8cb60b0

more prints 2

Browse files
Files changed (1) hide show
  1. sefaria.py +6 -2
sefaria.py CHANGED
@@ -63,14 +63,18 @@ class Sefaria(datasets.GeneratorBasedBuilder):
63
  # Download and extract the dataset files
64
  if self.config.name in ["english", "hebrew"]:
65
  data_dir = dl_manager.download_and_extract(self.DATA_URLS[self.config.name])
66
- print("found the following files in " + data_dir)
 
 
67
  for f in os.listdir(data_dir):
68
  print(f)
69
 
70
  filepaths = glob.glob(os.path.join(data_dir, "*" + self.config.name + ".parquet"))
71
  else:
72
  data_dir = dl_manager.download_and_extract(self.DATA_URLS["all"])
73
- print("found the following files in " + data_dir)
 
 
74
  for f in os.listdir(data_dir):
75
  print(f)
76
  filepaths = glob.glob(os.path.join(data_dir, "*.parquet"))
 
63
  # Download and extract the dataset files
64
  if self.config.name in ["english", "hebrew"]:
65
  data_dir = dl_manager.download_and_extract(self.DATA_URLS[self.config.name])
66
+ print("datadir:")
67
+ print(data_dir)
68
+ print("found the following files in ")
69
  for f in os.listdir(data_dir):
70
  print(f)
71
 
72
  filepaths = glob.glob(os.path.join(data_dir, "*" + self.config.name + ".parquet"))
73
  else:
74
  data_dir = dl_manager.download_and_extract(self.DATA_URLS["all"])
75
+ print("datadir:")
76
+ print(data_dir)
77
+ print("found the following files")
78
  for f in os.listdir(data_dir):
79
  print(f)
80
  filepaths = glob.glob(os.path.join(data_dir, "*.parquet"))