Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed May 28, 2024
1 parent 922cc17 commit 806291e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anemoi/inference/checkpoint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __repr__(self):

def __getattr__(self, name):
if self._metadata is None:
self._metadata = Metadata.from_metadata(load_metadata(self.path, "*.json"))
self._metadata = Metadata.from_metadata(load_metadata(self.path))

return getattr(self._metadata, name)

Expand Down

0 comments on commit 806291e

Please sign in to comment.