From fe74f9ff861ab52b4960b8637caf4789ba9aa843 Mon Sep 17 00:00:00 2001 From: chrisjonesbsu Date: Thu, 21 Sep 2023 14:33:05 -0600 Subject: [PATCH] sort bond group particle indices --- gmso/external/convert_hoomd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gmso/external/convert_hoomd.py b/gmso/external/convert_hoomd.py index 637b00d2e..8cc232a8f 100644 --- a/gmso/external/convert_hoomd.py +++ b/gmso/external/convert_hoomd.py @@ -394,7 +394,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))