From 7f76e59e0bdba893610455a1b91ac8ac1730b229 Mon Sep 17 00:00:00 2001 From: Mario Santa Cruz Date: Tue, 2 Jul 2024 09:56:31 +0000 Subject: [PATCH] fix: typo --- src/anemoi/graphs/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/anemoi/graphs/create.py b/src/anemoi/graphs/create.py index 57b60bc..8e49476 100644 --- a/src/anemoi/graphs/create.py +++ b/src/anemoi/graphs/create.py @@ -62,7 +62,7 @@ def _path_readable(self) -> bool: import torch try: - torch.load(self.path, "r") + torch.load(self.path) return True except FileNotFoundError: return False