thbndi commited on
Commit
a39a045
1 Parent(s): 7413353

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +1 -5
Mimic4Dataset.py CHANGED
@@ -41,11 +41,7 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
41
 
42
  def __init__(self, **kwargs):
43
  self.mimic_path = kwargs.pop("mimic_path", None)
44
- self.mimic_path = os.path.dirname(os.path.abspath('mimic-iv'))
45
- if self.mimic_path is None:
46
- raise ValueError("You must specify the path of the mimic4 data")
47
- if not os.path.exists(self.mimic_path):
48
- raise ValueError("The path of the mimic4 data does not exist")
49
 
50
  self.config_path = kwargs.pop("config_path",None)
51
  super().__init__(**kwargs)
 
41
 
42
  def __init__(self, **kwargs):
43
  self.mimic_path = kwargs.pop("mimic_path", None)
44
+
 
 
 
 
45
 
46
  self.config_path = kwargs.pop("config_path",None)
47
  super().__init__(**kwargs)