Skip to content

Commit

Permalink
Fix error at beginning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Semmler committed Dec 20, 2023
1 parent 037e28e commit 4aa6ffb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/calculate_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ def _calculate_values(
mc = Client(**asdict(mc_config)["client_config"])
last_run = mc.get("last_run", None)
if last_run is None or (
experiment_name != last_run["experiment"]
"experiment" not in last_run
or "dataset" not in last_run
or "model" not in last_run
or "method" not in last_run
or experiment_name != last_run["experiment"]
or dataset_name != last_run["dataset"]
or model_name != last_run["model"]
or (
Expand Down

0 comments on commit 4aa6ffb

Please sign in to comment.