thbndi commited on
Commit
1fc3b9c
·
1 Parent(s): 78e143a

Update cohort.py

Browse files
Files changed (1) hide show
  1. cohort.py +8 -1
cohort.py CHANGED
@@ -21,4 +21,11 @@ def task_cohort(task,mimic_path,path_benchmark, config):
21
  config = yaml.safe_load(f)
22
  version_path = mimic_path
23
  version = version_path.split('/')[-1][0]
24
- print(version)
 
 
 
 
 
 
 
 
21
  config = yaml.safe_load(f)
22
  version_path = mimic_path
23
  version = version_path.split('/')[-1][0]
24
+ print(version)
25
+
26
+ if __name__ == '__main__':
27
+ task = sys.argv[1]
28
+ mimic_path = sys.argv[2]
29
+ path_benchmark = sys.argv[3]
30
+ config = sys.argv[4]
31
+ task_cohort(task, mimic_path, path_benchmark, config)