Update cohort.py
Browse files
cohort.py
CHANGED
@@ -6,9 +6,10 @@ import importlib
|
|
6 |
import shutil
|
7 |
import time
|
8 |
import yaml
|
|
|
9 |
|
10 |
def task_cohort(task,mimic_path,path_benchmark, config_path):
|
11 |
-
root_dir =
|
12 |
config_path='./config/'+config_path
|
13 |
with open(config_path) as f:
|
14 |
config = yaml.safe_load(f)
|
|
|
6 |
import shutil
|
7 |
import time
|
8 |
import yaml
|
9 |
+
import os
|
10 |
|
11 |
def task_cohort(task,mimic_path,path_benchmark, config_path):
|
12 |
+
root_dir = os.getcwd()
|
13 |
config_path='./config/'+config_path
|
14 |
with open(config_path) as f:
|
15 |
config = yaml.safe_load(f)
|