thbndi commited on
Commit
37f1ab4
·
1 Parent(s): 496e800

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +1 -1
Mimic4Dataset.py CHANGED
@@ -44,7 +44,7 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
44
  if not os.path.exists(self.mimic_path):
45
  raise ValueError("The path of the mimic4 data does not exist")
46
 
47
- self.config_path = kwargs.get("config_path",None)
48
  super().__init__(**kwargs)
49
 
50
 
 
44
  if not os.path.exists(self.mimic_path):
45
  raise ValueError("The path of the mimic4 data does not exist")
46
 
47
+ self.config_path = kwargs.pop("config_path",None)
48
  super().__init__(**kwargs)
49
 
50