Skip to content

Commit 6ba1114

Browse files
committed
fix(levels): process grouped molecules deterministically
1 parent 2f6bc6e commit 6ba1114

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CodeEntropy/levels/nodes/covariance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def run(self, ctx: FrameCtx) -> dict[str, Any]:
9494
poly_molcount: dict[int, int] = {}
9595

9696
for group_id, mol_ids in sorted(groups.items()):
97-
for mol_id in mol_ids:
97+
for mol_id in sorted(mol_ids):
9898
mol = fragments[mol_id]
9999
level_list = levels[mol_id]
100100

0 commit comments

Comments
 (0)