Skip to content

Commit

Permalink
sort bond group particle indices (#769)
Browse files Browse the repository at this point in the history
Co-authored-by: Co Quach <[email protected]>
  • Loading branch information
chrisjonesBSU and daico007 authored Sep 22, 2023
1 parent 7537899 commit 3dabe6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gmso/external/convert_hoomd.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def _parse_bond_information(snapshot, top):

bond_types.append(bond_type)
bond_groups.append(
tuple(top.get_index(site) for site in connection_members)
sorted(tuple(top.get_index(site) for site in connection_members))
)

unique_bond_types = list(set(bond_types))
Expand Down

0 comments on commit 3dabe6a

Please sign in to comment.