Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Oct 16, 2024
1 parent 85077fc commit e6a837c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
4 changes: 2 additions & 2 deletions src/anemoi/transform/variables/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ def __init__(self, name: str) -> None:
self.name = name

@classmethod
def from_dict(cls, data: dict):
def from_dict(cls, name, data: dict):
from .variables import VariableFromDict

return VariableFromDict(data)
return VariableFromDict(name, data)

@classmethod
def from_earthkit(cls, field):
Expand Down
17 changes: 0 additions & 17 deletions tests/test_transform.py

This file was deleted.

0 comments on commit e6a837c

Please sign in to comment.