thbndi commited on
Commit
19b04f5
·
1 Parent(s): ce4b211

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +2 -3
Mimic4Dataset.py CHANGED
@@ -522,9 +522,8 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
522
  script = 'python cohort.py '+ self.config.name.replace(" ","_") +" "+ self.mimic_path+ " "+path_bench+ " "+config
523
 
524
  #####################################CHANGE##########
525
- #if not os.path.exists(data_dir) :
526
- os.system(script)
527
- print('done1')
528
  #####################################CHANGE##########
529
  config_path='./config/'+config
530
  with open(config_path) as f:
 
522
  script = 'python cohort.py '+ self.config.name.replace(" ","_") +" "+ self.mimic_path+ " "+path_bench+ " "+config
523
 
524
  #####################################CHANGE##########
525
+ if not os.path.exists(data_dir) :
526
+ os.system(script)
 
527
  #####################################CHANGE##########
528
  config_path='./config/'+config
529
  with open(config_path) as f: