thbndi commited on
Commit
6e3b7ae
1 Parent(s): 4ab9e5c

Update task_cohort.py

Browse files
Files changed (1) hide show
  1. task_cohort.py +1 -1
task_cohort.py CHANGED
@@ -284,7 +284,7 @@ def create_cohort(task, mimic_path, config_path):
284
  impute = False
285
 
286
  if data_icu:
287
- gen=data_generation_icu_modify.Generator_icu(task,cohort_output,data_mort,data_admn,data_los,diag_flag,proc_flag,out_flag,chart_flag,med_flag,impute,include,bucket,predW)
288
  else:
289
  gen=data_generation_modify.Generator(cohort_output,data_mort,data_admn,data_los,diag_flag,lab_flag,proc_flag,med_flag,impute,include,bucket,predW)
290
 
 
284
  impute = False
285
 
286
  if data_icu:
287
+ gen=data_generation_icu_modify.Generator(task,cohort_output,data_mort,data_admn,data_los,diag_flag,proc_flag,out_flag,chart_flag,med_flag,impute,include,bucket,predW)
288
  else:
289
  gen=data_generation_modify.Generator(cohort_output,data_mort,data_admn,data_los,diag_flag,lab_flag,proc_flag,med_flag,impute,include,bucket,predW)
290