Skip to content

Commit

Permalink
Update crystal_tools.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gduscher committed Jan 27, 2024
1 parent cc88598 commit f3b325a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyTEMlib/crystal_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def ball_and_stick(atoms, extend=1, max_bond_length=0.):
for (k, s) in bond_matrix.keys():
if k > s:
del_double.append((k, s))
for key in del_double:
for key in del_double[::-1]:
bond_matrix.pop(key)

if super_cell.info is None:
Expand Down

0 comments on commit f3b325a

Please sign in to comment.