Skip to content

Commit

Permalink
Fix regression on molgraph.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Jun 27, 2024
1 parent 877dd24 commit d27d5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymatgen/analysis/graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2420,7 +2420,7 @@ def find_rings(self, including=None) -> list[list[tuple[int, int]]]:
for cycle in cycles_nodes:
edges = []
for idx, itm in enumerate(cycle):
edges.append((itm, cycle[idx - 1]))
edges.append((cycle[idx - 1], itm))
cycles_edges.append(edges)

return cycles_edges
Expand Down

0 comments on commit d27d5fb

Please sign in to comment.