@@ -219,7 +219,6 @@ def group(self) -> int:
219
219
"""
220
220
221
221
for group_idx in range (1 , 18 ):
222
-
223
222
if self .label in PeriodicTable .group (group_idx ):
224
223
return group_idx
225
224
@@ -242,7 +241,6 @@ def period(self) -> int:
242
241
"""
243
242
244
243
for period_idx in range (1 , 7 ):
245
-
246
244
if self .label in PeriodicTable .period (period_idx ):
247
245
return period_idx
248
246
@@ -692,7 +690,6 @@ def moi(self) -> MomentOfInertia:
692
690
moi = MomentOfInertia (np .zeros (shape = (3 , 3 )), units = "amu Å^2" )
693
691
694
692
for atom in self :
695
-
696
693
mass , (x , y , z ) = atom .mass , atom .coord
697
694
698
695
moi [0 , 0 ] += mass * (y ** 2 + z ** 2 )
@@ -887,7 +884,6 @@ def are_planar(self, distance_tol: Distance = Distance(1e-3, "Å")) -> bool:
887
884
normal_vec = np .cross (arr [1 , :] - x0 , arr [2 , :] - x0 )
888
885
889
886
for i in range (3 , len (self )):
890
-
891
887
# Calculate the 0->i atomic vector, which must not have any
892
888
# component in the direction in the normal if the atoms are planar
893
889
if np .dot (normal_vec , arr [i , :] - x0 ) > distance_tol_float :
@@ -1253,7 +1249,6 @@ def dihedral(self, w: int, x: int, y: int, z: int) -> Angle:
1253
1249
1254
1250
1255
1251
class PeriodicTable :
1256
-
1257
1252
# fmt: off
1258
1253
table = np .array (
1259
1254
[['H' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , 'He' ],
0 commit comments