thbndi commited on
Commit
b361960
1 Parent(s): 00b2b76

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +1 -2
Mimic4Dataset.py CHANGED
@@ -155,7 +155,6 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
155
  path_bench = './MIMIC-IV-Data-Pipeline-main'
156
  else:
157
  path_bench ='./MIMIC-IV-Data-Pipeline-main'
158
- print('1 bis : '+os.getcwd())
159
  subprocess.run(["git", "clone", repo_url, path_bench])
160
  os.makedirs(path_bench+'/mimic-iv')
161
  shutil.move(version,path_bench+'/mimic-iv')
@@ -188,8 +187,8 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
188
  shutil.move(file_path, './preprocessing/day_intervals_preproc')
189
  print(self.config.name)
190
  print(os.getcwd())
 
191
  if not os.path.exists('cohort.py'):
192
- file_path, head = urlretrieve(_COHORT, "cohort.py")
193
  shutil.move(file_path, './')
194
 
195
  data_dir = "./data/dataDic"
 
155
  path_bench = './MIMIC-IV-Data-Pipeline-main'
156
  else:
157
  path_bench ='./MIMIC-IV-Data-Pipeline-main'
 
158
  subprocess.run(["git", "clone", repo_url, path_bench])
159
  os.makedirs(path_bench+'/mimic-iv')
160
  shutil.move(version,path_bench+'/mimic-iv')
 
187
  shutil.move(file_path, './preprocessing/day_intervals_preproc')
188
  print(self.config.name)
189
  print(os.getcwd())
190
+ file_path, head = urlretrieve(_COHORT, "cohort.py")
191
  if not os.path.exists('cohort.py'):
 
192
  shutil.move(file_path, './')
193
 
194
  data_dir = "./data/dataDic"