Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +1 -3
Mimic4Dataset.py
CHANGED
@@ -130,12 +130,10 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
130 |
)
|
131 |
|
132 |
def _split_generators(self, dl_manager: datasets.DownloadManager()):
|
133 |
-
data_dir = self.config.data_dir + "/dataDic"
|
134 |
-
#mimic=self.mimic_path
|
135 |
-
data_dir = self.config.data_dir + "/dataDic"
|
136 |
repodir = os.getcwd()
|
137 |
path_bench = repodir+'/MIMIC-IV-Data-Pipeline-main'
|
138 |
repo_url='https://github.com/healthylaife/MIMIC-IV-Data-Pipeline'
|
|
|
139 |
if not os.path.exists(path_bench):
|
140 |
#subprocess.run(["git", "clone", repo_url, path_bench])
|
141 |
print('ok')
|
|
|
130 |
)
|
131 |
|
132 |
def _split_generators(self, dl_manager: datasets.DownloadManager()):
|
|
|
|
|
|
|
133 |
repodir = os.getcwd()
|
134 |
path_bench = repodir+'/MIMIC-IV-Data-Pipeline-main'
|
135 |
repo_url='https://github.com/healthylaife/MIMIC-IV-Data-Pipeline'
|
136 |
+
data_dir = path_bench + "/dataDic"
|
137 |
if not os.path.exists(path_bench):
|
138 |
#subprocess.run(["git", "clone", repo_url, path_bench])
|
139 |
print('ok')
|