Skip to content

Commit

Permalink
Fix tuple typo (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
RainierBarrett committed Aug 27, 2021
1 parent 61d6e03 commit 3f2a11c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htf/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,11 +502,11 @@ def compute_cg_graph(
for j in length[i]:
cg_l = length[i][j]
if cg_l == 1:
dist_idx.add(tuple(sorted(i, j)))
dist_idx.add(tuple(sorted((i, j))))
elif cg_l == 2:
ang_idx.add(tuple(sorted(i, j)))
ang_idx.add(tuple(sorted((i, j))))
elif cg_l == 3:
dihe_idx.add(tuple(sorted(i, j)))
dihe_idx.add(tuple(sorted((i, j))))

# find indices of bonded pairs
for pair in dist_idx:
Expand Down

0 comments on commit 3f2a11c

Please sign in to comment.