Skip to content

Commit

Permalink
add HeteroData import
Browse files Browse the repository at this point in the history
  • Loading branch information
JPXKQX committed Feb 5, 2025
1 parent 11d8222 commit 6fbfe4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions graphs/tests/edges/test_edge_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@

import pytest
import torch
from typing import TYPE_CHECKING

from anemoi.graphs.edges.attributes import AttributeFromSourceNode
from anemoi.graphs.edges.attributes import AttributeFromTargetNode
from anemoi.graphs.edges.attributes import EdgeDirection
from anemoi.graphs.edges.attributes import EdgeLength

if TYPE_CHECKING:
from torch_geometric.data import HeteroData

TEST_EDGES = ("test_nodes", "to", "test_nodes")


Expand Down

0 comments on commit 6fbfe4c

Please sign in to comment.