thbndi commited on
Commit
7cd7b81
1 Parent(s): e479100

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +3 -3
Mimic4Dataset.py CHANGED
@@ -125,11 +125,11 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
125
  else:
126
  path_bench ='./MIMIC-IV-Data-Pipeline-main'
127
  subprocess.run(["git", "clone", repo_url, path_bench])
128
- os.makedirs(path_bench+'/'+mimic_folder)
129
- shutil.move(version,path_bench+'/'+mimic_folder)
130
 
131
  os.chdir(path_bench)
132
- self.mimic_path = './'+mimic_folder+'/'+version
133
 
134
  ####################Get configurations param
135
  #download config file if not custom
 
125
  else:
126
  path_bench ='./MIMIC-IV-Data-Pipeline-main'
127
  subprocess.run(["git", "clone", repo_url, path_bench])
128
+ os.makedirs(path_bench+'/'+'mimic-iv')
129
+ shutil.move(version,path_bench+'/'+'mimic-iv')
130
 
131
  os.chdir(path_bench)
132
+ self.mimic_path = './'+'mimic-iv'+'/'+version
133
 
134
  ####################Get configurations param
135
  #download config file if not custom