Skip to content

Commit

Permalink
Fixed ABC issue
Browse files Browse the repository at this point in the history
  • Loading branch information
icedoom888 committed Dec 18, 2024
1 parent 89af39a commit d3611d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/anemoi/graphs/edges/attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,14 @@ def post_process(self, values: np.ndarray) -> torch.Tensor:
return values


class BooleanBaseEdgeAttribute(ABC, BaseEdgeAttribute):
class BooleanBaseEdgeAttribute(BaseEdgeAttribute, ABC):
"""Base class for boolean edge attributes."""

def __init__(self) -> None:
super().__init__(norm=None, dtype="bool")


class AttributeFromNode(ABC, BooleanBaseEdgeAttribute):
class AttributeFromNode(BooleanBaseEdgeAttribute, ABC):
"""
Base class for Attribute from Node.
Expand Down

0 comments on commit d3611d3

Please sign in to comment.