Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +1 -2
Mimic4Dataset.py
CHANGED
@@ -132,12 +132,11 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
132 |
)
|
133 |
|
134 |
def _split_generators(self, dl_manager: datasets.DownloadManager()):
|
135 |
-
print(self.
|
136 |
if self.name == 'Phenotype' and self.config_path is None : self.config_path = _CONFIG_URLS['phenotype']
|
137 |
if self.name == 'Readmission' and self.config_path is None : self.config_path = _CONFIG_URLS['readmission']
|
138 |
if self.name == 'Length of Stay' and self.config_path is None : self.config_path = _CONFIG_URLS['los']
|
139 |
if self.name == 'Mortality' and self.config_path is None : self.config_path = _CONFIG_URLS['mortality']
|
140 |
-
print(self.task)
|
141 |
|
142 |
repo_url='https://github.com/healthylaife/MIMIC-IV-Data-Pipeline'
|
143 |
if os.path.exists(os.path.dirname(os.path.abspath('MIMIC-IV-Data-Pipeline-main'))):
|
|
|
132 |
)
|
133 |
|
134 |
def _split_generators(self, dl_manager: datasets.DownloadManager()):
|
135 |
+
print(self.config.name)
|
136 |
if self.name == 'Phenotype' and self.config_path is None : self.config_path = _CONFIG_URLS['phenotype']
|
137 |
if self.name == 'Readmission' and self.config_path is None : self.config_path = _CONFIG_URLS['readmission']
|
138 |
if self.name == 'Length of Stay' and self.config_path is None : self.config_path = _CONFIG_URLS['los']
|
139 |
if self.name == 'Mortality' and self.config_path is None : self.config_path = _CONFIG_URLS['mortality']
|
|
|
140 |
|
141 |
repo_url='https://github.com/healthylaife/MIMIC-IV-Data-Pipeline'
|
142 |
if os.path.exists(os.path.dirname(os.path.abspath('MIMIC-IV-Data-Pipeline-main'))):
|