Skip to content

graph edges level attribute is inconsistent across different direction types #45

@observingClouds

Description

@observingClouds

The level attribute within a mesh level, e.g. (direction == same), is called "level", opposed to when the edges connect different mesh levels. In those cases it is called "levels".

E.g.

G_down.edges[u, v]["levels"] = f"{from_level}>{to_level}"

vs.

This causes issues, e.g. when using https://github.com/pyg-team/pytorch_geometric/blob/afffee9f089ac0fe1eb8c1600c6e0b2e07ca6f80/torch_geometric/utils/convert.py#L260-L262

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions