Skip to content

Commit

Permalink
Remove superfluous reverse sort
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCBrammer committed Dec 24, 2024
1 parent 31c5c5e commit 38a2c63
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tucan/graph_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ def get_attribute_sequences(
return [
(
attr,
*sorted(
[m_attrs[neighbor] for neighbor in m.neighbors(atom)], reverse=True
),
*sorted([m_attrs[neighbor] for neighbor in m.neighbors(atom)]),
)
for atom, attr in m_attrs.items()
] # type: ignore
Expand Down

0 comments on commit 38a2c63

Please sign in to comment.