Update task_cohort.py
Browse files- task_cohort.py +3 -0
task_cohort.py
CHANGED
@@ -211,6 +211,9 @@ def create_cohort(task, mimic_path, config_path):
|
|
211 |
else:
|
212 |
feature_selection_hosp.feature_nonicu(cohort_output, version_path,diag_flag,lab_flag,proc_flag,med_flag)
|
213 |
#----------------------------------------------GROUPING-------------------------------------------------------
|
|
|
|
|
|
|
214 |
if data_icu:
|
215 |
if diag_flag:
|
216 |
group_diag=groupingDiag
|
|
|
211 |
else:
|
212 |
feature_selection_hosp.feature_nonicu(cohort_output, version_path,diag_flag,lab_flag,proc_flag,med_flag)
|
213 |
#----------------------------------------------GROUPING-------------------------------------------------------
|
214 |
+
group_diag=False
|
215 |
+
group_med=False
|
216 |
+
group_proc=False
|
217 |
if data_icu:
|
218 |
if diag_flag:
|
219 |
group_diag=groupingDiag
|