Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
fb9f9eb
Minor Documentation Fixes: TaskID for Example Custom Flow; Comment on…
LennartPurucker Apr 18, 2023
f9412d3
[pre-commit.ci] pre-commit autoupdate (#1223)
pre-commit-ci[bot] Apr 25, 2023
f43e075
[pre-commit.ci] pre-commit autoupdate (#1250)
pre-commit-ci[bot] Jun 11, 2023
a4ec4bc
change from raise error to warning for bad tasks (#1244)
LennartPurucker Jun 12, 2023
3f59841
Update version number and citation request (#1253)
mfeurer Jun 12, 2023
333b068
Added warning to run_model_on_task to avoid duplicates if no authenti…
v-parmar Jun 13, 2023
a7f2639
Fix 1124: provide clear naming for cache directories (#1254)
mfeurer Jun 13, 2023
91b4bf0
Download updates (#1256)
LennartPurucker Jun 15, 2023
3b3553b
Revert "Download updates (#1256)"
LennartPurucker Jun 15, 2023
4acdac4
Merge pull request #1259 from openml/revert-1256-download_updates
LennartPurucker Jun 15, 2023
32c2902
ADD: Rework Download Options and enable Lazy Loading for Datasets (#1…
LennartPurucker Jun 15, 2023
80a028a
Add mypy annotations for _api_calls.py (#1257)
mfeurer Jun 16, 2023
495162d
Deprecate `output_format='dict'` (#1258)
PGijsbers Jun 16, 2023
8418915
Make test robuster to server state, avoid attaching attached runs (#1…
PGijsbers Jun 16, 2023
a186012
[pre-commit.ci] pre-commit autoupdate (#1264)
pre-commit-ci[bot] Jun 29, 2023
abf9506
Add future warning dataset format (#1265)
PGijsbers Jul 3, 2023
d940e0e
Prepare release 0.14 (#1262)
mfeurer Jul 3, 2023
2079501
scipy 1.11 sets scipy.stats.mode `keepdims=Fales` as default (#1267)
PGijsbers Jul 3, 2023
5d2128a
Update test.yml: upload CODECOV token (#1268)
mfeurer Jul 4, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change from raise error to warning for bad tasks (#1244)
  • Loading branch information
LennartPurucker authored Jun 12, 2023
commit a4ec4bc4b011292450cb69b221d7e5d149a3f4b9
5 changes: 3 additions & 2 deletions openml/tasks/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,10 @@ def __list_tasks(api_call, output_format="dict"):
tasks[tid] = task
except KeyError as e:
if tid is not None:
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_))
else:
raise KeyError("Could not find key %s in %s!" % (e, task_))
warnings.warn("Could not find key %s in %s!" % (e, task_))
continue

if output_format == "dataframe":
tasks = pd.DataFrame.from_dict(tasks, orient="index")
Expand Down