From f8ed73e1df568408881fcbc48feee45edb02f72d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2025 08:52:11 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/anemoi/inference/metadata.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/anemoi/inference/metadata.py b/src/anemoi/inference/metadata.py index e5dc0ab..5eb674a 100644 --- a/src/anemoi/inference/metadata.py +++ b/src/anemoi/inference/metadata.py @@ -512,11 +512,12 @@ def _find(x): _find(y) if isinstance(x, dict): - if "dataset" in x and isinstance(x["dataset"], str): + if "dataset" in x and isinstance(x["dataset"], str): result.append(x["dataset"]) for k, v in x.items(): _find(v) + _find(self._config.dataloader.training.dataset) return result