Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +3 -3
Mimic4Dataset.py
CHANGED
|
@@ -125,11 +125,11 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
| 125 |
else:
|
| 126 |
path_bench ='./MIMIC-IV-Data-Pipeline-main'
|
| 127 |
subprocess.run(["git", "clone", repo_url, path_bench])
|
| 128 |
-
os.makedirs(path_bench+'/
|
| 129 |
-
shutil.move(version,path_bench+'/
|
| 130 |
|
| 131 |
os.chdir(path_bench)
|
| 132 |
-
self.mimic_path = './
|
| 133 |
|
| 134 |
####################Get configurations param
|
| 135 |
#download config file if not custom
|
|
|
|
| 125 |
else:
|
| 126 |
path_bench ='./MIMIC-IV-Data-Pipeline-main'
|
| 127 |
subprocess.run(["git", "clone", repo_url, path_bench])
|
| 128 |
+
os.makedirs(path_bench+'/'+mimic_folder)
|
| 129 |
+
shutil.move(version,path_bench+'/'+mimic_folder)
|
| 130 |
|
| 131 |
os.chdir(path_bench)
|
| 132 |
+
self.mimic_path = './'+mimic_folder+'/'+version
|
| 133 |
|
| 134 |
####################Get configurations param
|
| 135 |
#download config file if not custom
|