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.
1 parent f43e075 commit a4ec4bcCopy full SHA for a4ec4bc
openml/tasks/functions.py
@@ -288,9 +288,10 @@ def __list_tasks(api_call, output_format="dict"):
288
tasks[tid] = task
289
except KeyError as e:
290
if tid is not None:
291
- raise KeyError("Invalid xml for task %d: %s\nFrom %s" % (tid, e, task_))
+ warnings.warn("Invalid xml for task %d: %s\nFrom %s" % (tid, e, task_))
292
else:
293
- raise KeyError("Could not find key %s in %s!" % (e, task_))
+ warnings.warn("Could not find key %s in %s!" % (e, task_))
294
+ continue
295
296
if output_format == "dataframe":
297
tasks = pd.DataFrame.from_dict(tasks, orient="index")
0 commit comments