Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +2 -3
Mimic4Dataset.py
CHANGED
@@ -152,9 +152,8 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
152 |
path_bench = repodir+'/MIMIC-IV-Data-Pipeline-main'
|
153 |
subprocess.run(["git", "clone", repo_url, path_bench])
|
154 |
|
155 |
-
|
156 |
-
|
157 |
-
shutil.move(local_script_path, path_bench+'/model')
|
158 |
|
159 |
data_dir = path_bench + "/data/dataDic"
|
160 |
print(data_dir)
|
|
|
152 |
path_bench = repodir+'/MIMIC-IV-Data-Pipeline-main'
|
153 |
subprocess.run(["git", "clone", repo_url, path_bench])
|
154 |
|
155 |
+
file_path, head = urlretrieve(script_url, "data_generation_icu_modify.py")
|
156 |
+
shutil.move(file_path, path_bench+'/model')
|
|
|
157 |
|
158 |
data_dir = path_bench + "/data/dataDic"
|
159 |
print(data_dir)
|