Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 10, 2025
1 parent 3acba5e commit 4b1b06b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torch_geometric/utils/rag/feature_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ def load_subgraph(
edge_attr = self.edge_attr[edge_id]
# do not have access to original edge_index
# must fill outside this function
return Data(x=x, edge_attr=edge_attr,
node_idx=node_id, edge_idx=edge_id)
return Data(x=x, edge_attr=edge_attr, node_idx=node_id,
edge_idx=edge_id)


# TODO: Refactor because composition >> inheritance
Expand Down

0 comments on commit 4b1b06b

Please sign in to comment.