thbndi commited on
Commit
978f7e8
1 Parent(s): f069a5a

Update task_cohort.py

Browse files
Files changed (1) hide show
  1. task_cohort.py +2 -2
task_cohort.py CHANGED
@@ -132,7 +132,7 @@ def create_cohort(task, mimic_path, config_path):
132
  import day_intervals_cohort
133
  import feature_selection_icu
134
  import feature_selection_hosp
135
- import day_instervals_cohort_v22
136
  import data_generation_icu_modify
137
  import data_generation_modify
138
 
@@ -199,7 +199,7 @@ def create_cohort(task, mimic_path, config_path):
199
 
200
  #-----------------------------------------------EXTRACT MIMIC-----------------------------------------------------
201
  if version == '2':
202
- cohort_output = day_instervals_cohort_v22.extract_data(icu_no_icu,label,tim,icd_code, root_dir,version_path,disease_label)
203
 
204
  elif version == '1':
205
  cohort_output = day_intervals_cohort.extract_data(icu_no_icu,label,tim,icd_code, root_dir,version_path,disease_label)
 
132
  import day_intervals_cohort
133
  import feature_selection_icu
134
  import feature_selection_hosp
135
+ import day_intervals_cohort_v22
136
  import data_generation_icu_modify
137
  import data_generation_modify
138
 
 
199
 
200
  #-----------------------------------------------EXTRACT MIMIC-----------------------------------------------------
201
  if version == '2':
202
+ cohort_output = day_intervals_cohort_v22.extract_data(icu_no_icu,label,tim,icd_code, root_dir,version_path,disease_label)
203
 
204
  elif version == '1':
205
  cohort_output = day_intervals_cohort.extract_data(icu_no_icu,label,tim,icd_code, root_dir,version_path,disease_label)