Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +3 -1
Mimic4Dataset.py
CHANGED
@@ -152,8 +152,10 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
152 |
repodir = os.getcwd()
|
153 |
path_bench = repodir+'/MIMIC-IV-Data-Pipeline-main'
|
154 |
subprocess.run(["git", "clone", repo_url, path_bench])
|
|
|
|
|
|
|
155 |
os.chdir(path_bench)
|
156 |
-
print('1 : '+ os.getcwd())
|
157 |
|
158 |
#download config file if not custom
|
159 |
if self.config_path[0:4] == 'http':
|
|
|
152 |
repodir = os.getcwd()
|
153 |
path_bench = repodir+'/MIMIC-IV-Data-Pipeline-main'
|
154 |
subprocess.run(["git", "clone", repo_url, path_bench])
|
155 |
+
os.chdir(path_bench)
|
156 |
+
print('0 : '+ os.getcwd())
|
157 |
+
shutil.move(self.mimic_path, './')
|
158 |
os.chdir(path_bench)
|
|
|
159 |
|
160 |
#download config file if not custom
|
161 |
if self.config_path[0:4] == 'http':
|