qanastek commited on
Commit
6a0aa6c
1 Parent(s): 74c2992

Update DiaMED.py

Browse files
Files changed (1) hide show
  1. DiaMED.py +1 -6
DiaMED.py CHANGED
@@ -112,9 +112,6 @@ class DiaMed(datasets.GeneratorBasedBuilder):
112
  """Returns SplitGenerators."""
113
 
114
  data_dir = dl_manager.download_and_extract(_URL)
115
- print("#"*50)
116
- print(data_dir)
117
- # data_dir = "./splits/"
118
 
119
  return [
120
  datasets.SplitGenerator(
@@ -147,9 +144,7 @@ class DiaMed(datasets.GeneratorBasedBuilder):
147
  data = json.load(f)
148
 
149
  for key, d in enumerate(data):
150
-
151
- print("*"*50)
152
-
153
  if str(d["icd-10"]) == "nan" or d["icd-10"].find("Plusieurs cas cliniques") != -1 or d["icd-10"].find("Aucune annotation") != -1:
154
  continue
155
 
 
112
  """Returns SplitGenerators."""
113
 
114
  data_dir = dl_manager.download_and_extract(_URL)
 
 
 
115
 
116
  return [
117
  datasets.SplitGenerator(
 
144
  data = json.load(f)
145
 
146
  for key, d in enumerate(data):
147
+
 
 
148
  if str(d["icd-10"]) == "nan" or d["icd-10"].find("Plusieurs cas cliniques") != -1 or d["icd-10"].find("Aucune annotation") != -1:
149
  continue
150