thbndi commited on
Commit
5725f22
·
1 Parent(s): 7351dbd

Update cohort.py

Browse files
Files changed (1) hide show
  1. cohort.py +0 -3
cohort.py CHANGED
@@ -16,9 +16,6 @@ def task_cohort(task,mimic_path,path_benchmark, config_path):
16
  version = version_path.split('/')[-1][0]
17
  start = time.time()
18
  #----------------------------------------------config----------------------------------------------------
19
- with open(config) as f:
20
- config = yaml.safe_load(f)
21
-
22
  disease_label = config['disease_label']
23
  tim = config['time']
24
  label = config['label']
 
16
  version = version_path.split('/')[-1][0]
17
  start = time.time()
18
  #----------------------------------------------config----------------------------------------------------
 
 
 
19
  disease_label = config['disease_label']
20
  tim = config['time']
21
  label = config['label']