We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
evalutation/functions.py
1 parent 5b85b77 commit aba2586Copy full SHA for aba2586
1 file changed
openml/evaluations/functions.py
@@ -231,8 +231,9 @@ def __list_evaluations(api_call: str) -> list[OpenMLEvaluation]:
231
f'Error in return XML, does not contain "oml:evaluations": {evals_dict!s}',
232
)
233
234
- assert isinstance(evals_dict["oml:evaluations"]["oml:evaluation"], list), type(
235
- evals_dict["oml:evaluations"],
+ assert isinstance(evals_dict["oml:evaluations"]["oml:evaluation"], list), (
+ "Expected 'oml:evaluation' to be a list, but got"
236
+ f"{type(evals_dict['oml:evaluations']['oml:evaluation']).__name__}. "
237
238
239
uploader_ids = list(
0 commit comments