Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +1 -1
Mimic4Dataset.py
CHANGED
@@ -709,7 +709,7 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
709 |
DEFAULT_CONFIG_NAME = "Mortality"
|
710 |
|
711 |
def create_cohort(self):
|
712 |
-
if self.
|
713 |
if self.config.name == 'Phenotype' : self.config_path = _CONFIG_URLS['phenotype']
|
714 |
if self.config.name == 'Readmission' : self.config_path = _CONFIG_URLS['readmission']
|
715 |
if self.config.name == 'Length of Stay' : self.config_path = _CONFIG_URLS['los']
|
|
|
709 |
DEFAULT_CONFIG_NAME = "Mortality"
|
710 |
|
711 |
def create_cohort(self):
|
712 |
+
if self.config_path==None:
|
713 |
if self.config.name == 'Phenotype' : self.config_path = _CONFIG_URLS['phenotype']
|
714 |
if self.config.name == 'Readmission' : self.config_path = _CONFIG_URLS['readmission']
|
715 |
if self.config.name == 'Length of Stay' : self.config_path = _CONFIG_URLS['los']
|