Update task_cohort.py
Browse files- task_cohort.py +1 -1
task_cohort.py
CHANGED
@@ -26,7 +26,7 @@ def task_cohort(task, mimic_path, config_path):
|
|
26 |
version = mimic_path.split('/')[-1][0]
|
27 |
start = time.time()
|
28 |
#----------------------------------------------config----------------------------------------------------
|
29 |
-
label, tim, disease_label, predW =
|
30 |
icu_no_icu = config['icu_no_icu']
|
31 |
timeW = config['timeWindow']
|
32 |
include=int(timeW.split()[1])
|
|
|
26 |
version = mimic_path.split('/')[-1][0]
|
27 |
start = time.time()
|
28 |
#----------------------------------------------config----------------------------------------------------
|
29 |
+
label, tim, disease_label, predW = check_config_file(task,config_path)
|
30 |
icu_no_icu = config['icu_no_icu']
|
31 |
timeW = config['timeWindow']
|
32 |
include=int(timeW.split()[1])
|