Update task_cohort.py
Browse files- 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.
|
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 |
|