No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
185 | 185 | def _groups_all(self): |
|
186 | 186 | return self._groups + self._groups_warmup |
|
187 | 187 | ||
188 | + | def __iter__(self): |
|
189 | + | """Iterate over groups in InferenceData object.""" |
|
190 | + | for group in self._groups_all: |
|
191 | + | yield group |
|
192 | + | ||
193 | + | def groups(self): |
|
194 | + | """Return all groups present in InferenceData object.""" |
|
195 | + | return self._groups_all |
|
196 | + | ||
197 | + | def values(self): |
|
198 | + | """Xarray Datasets present in InferenceData object.""" |
|
199 | + | for group in self._groups_all: |
|
200 | + | yield getattr(self, group) |
|
201 | + | ||
202 | + | def items(self): |
|
203 | + | """Yield groups and corresponding datasets present in InferenceData object.""" |
|
204 | + | for group in self._groups_all: |
|
205 | + | yield (group, getattr(self, group)) |
|
206 | + | ||
188 | 207 | @staticmethod |
|
189 | 208 | def from_netcdf(filename): |
|
190 | 209 | """Initialize object from a netcdf file. |
Files | Coverage |
---|---|
arviz | 0.01% 91.73% |
Project Totals (105 files) | 91.73% |
#1356
47a86ca
df412d0
#1356
cde6248
#1356
0b1c303
#1356
1471d40
#1356
683068a
#1356
60ecb1d
#1356
a3f82e8
#1356
1a11b40
#1356
46331bc
#1356
f3abc7c
#1356
8a50fb3
c4f43e8
63f6bc2