Skip to content

Commit

Permalink
support old weights
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Jun 16, 2024
1 parent a3b36a0 commit cea106e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anemoi/inference/checkpoint/metadata/version_0_1_0.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,6 @@ def graph_kids(self):

dataset = self._dataset.copy()
if "attrs" not in dataset:
dataset["attrs"] = dict(data_request=dataset.get("data_request", {}))
dataset["attrs"] = dataset.copy()

return [ZarrRequest(dataset)]

0 comments on commit cea106e

Please sign in to comment.