Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +2 -2
Mimic4Dataset.py
CHANGED
@@ -155,9 +155,9 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
155 |
self.data_icu = config['icu_no_icu']=='ICU'
|
156 |
|
157 |
if self.data_icu:
|
158 |
-
self.feat_cond, self.feat_chart, self.feat_proc, self.feat_meds, self.feat_out, self.
|
159 |
else:
|
160 |
-
self.feat_cond, self.feat_lab, self.feat_proc, self.feat_meds, self.feat_chart, self.
|
161 |
|
162 |
|
163 |
#####################downloads modules from hub
|
|
|
155 |
self.data_icu = config['icu_no_icu']=='ICU'
|
156 |
|
157 |
if self.data_icu:
|
158 |
+
self.feat_cond, self.feat_chart, self.feat_proc, self.feat_meds, self.feat_out, self.feat_lab = config['diagnosis'], config['chart'], config['proc'], config['meds'], config['output'], False
|
159 |
else:
|
160 |
+
self.feat_cond, self.feat_lab, self.feat_proc, self.feat_meds, self.feat_chart, self.feat_out = config['diagnosis'], config['lab'], config['proc'], config['meds'], False, False
|
161 |
|
162 |
|
163 |
#####################downloads modules from hub
|