Skip to content

Commit

Permalink
Code quality improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasper Wijnands committed Nov 6, 2024
1 parent b0bdb04 commit 659f6f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/anemoi/training/train/forecaster.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ def calculate_val_metrics(
if self.stretched_grid:
for name, metric in self.sg_metrics.items():
metrics[f"{name}"] = metric(y_pred, y)

if enable_plot:
y_preds.append(y_pred)
return metrics, y_preds
Expand Down

0 comments on commit 659f6f1

Please sign in to comment.