Skip to content

Commit

Permalink
Trying to refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Chad-Peterson committed May 19, 2024
1 parent 8c9e035 commit e813dda
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/yamada/spatial_graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,6 @@ def get_adjacent_nodes_projected_positions(self, reference_node: str):
Get the adjacent nodes to a given node.
"""
adjacent_nodes = self.get_adjacent_nodes(reference_node)

node_indices = [self.nodes.index(node) for node in adjacent_nodes]

projected_node_positions = [self.node_positions_dict_2d[node] for node in adjacent_nodes]

return np.array(projected_node_positions)
Expand Down

0 comments on commit e813dda

Please sign in to comment.