thbndi commited on
Commit
64afb86
·
1 Parent(s): a39a045

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +1 -0
Mimic4Dataset.py CHANGED
@@ -151,6 +151,7 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
151
  os.makedirs(path_bench+'/mimic-iv')
152
  version = self.mimic_path.split('/')[-1]
153
  shutil.move(self.mimic_path, path_bench+'/mimic-iv/'+version)
 
154
 
155
  #download config file if not custom
156
  if self.config_path[0:4] == 'http':
 
151
  os.makedirs(path_bench+'/mimic-iv')
152
  version = self.mimic_path.split('/')[-1]
153
  shutil.move(self.mimic_path, path_bench+'/mimic-iv/'+version)
154
+ self.mimic_path = path_bench+'/mimic-iv/'+version
155
 
156
  #download config file if not custom
157
  if self.config_path[0:4] == 'http':