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 83745d8 commit d8e9f93Copy full SHA for d8e9f93
simvue_cli/run.py
@@ -35,7 +35,7 @@ def _check_run_exists(run_id: str) -> pathlib.Path:
35
are removed. The same applies if the run is no longer active.
36
"""
37
run_shelf_file = CACHE_DIRECTORY.joinpath(f"{run_id}.json")
38
- if not (run := Client().get_run(run_id)):
+ if not (run := Client().get_run(run_id)) or not isinstance(run, dict):
39
if run_shelf_file.exists():
40
run_shelf_file.unlink()
41
raise ValueError(f"Run '{run_id}' does not exist.")
0 commit comments