Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JPXKQX committed Jul 2, 2024
1 parent 17c2232 commit 7f76e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anemoi/graphs/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7f76e59

Please sign in to comment.