Skip to content

Commit

Permalink
Minor.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtarzia committed Nov 13, 2023
1 parent ee16c44 commit 3fbf139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stko/_internal/molecular/decompose/decompose_moc.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def decompose(
atom_ids = tuple(i.get_id() for i in atoms)

# Sort both by atom id.
atom_ids, atoms = zip(
atom_ids, atoms = zip( # type: ignore[assignment]
*sorted(zip(atom_ids, atoms, strict=True)), strict=True
)

Expand Down

0 comments on commit 3fbf139

Please sign in to comment.