Skip to content

Commit 89990ad

Browse files
committed
Remove some now-redundant imports.
Previous commit put the import at the top of the file.
1 parent b9c7cfc commit 89990ad

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

rmgpy/molecule/draw.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,6 @@ def _generate_coordinates(self, fix_surface_sites=True):
409409
# If two atoms lie on top of each other, push them apart a bit
410410
# This is ugly, but at least the mess you end up with isn't as misleading
411411
# as leaving everything piled on top of each other at the origin
412-
import itertools
413412
for atom1, atom2 in itertools.combinations(backbone, 2):
414413
i1, i2 = atoms.index(atom1), atoms.index(atom2)
415414
if np.linalg.norm(coordinates[i1, :] - coordinates[i2, :]) < 0.5:
@@ -421,7 +420,6 @@ def _generate_coordinates(self, fix_surface_sites=True):
421420
# If two atoms lie on top of each other, push them apart a bit
422421
# This is ugly, but at least the mess you end up with isn't as misleading
423422
# as leaving everything piled on top of each other at the origin
424-
import itertools
425423
for atom1, atom2 in itertools.combinations(backbone, 2):
426424
i1, i2 = atoms.index(atom1), atoms.index(atom2)
427425
if np.linalg.norm(coordinates[i1, :] - coordinates[i2, :]) < 0.5:

0 commit comments

Comments
 (0)