Skip to content

Commit 87c9228

Browse files
committed
DOC: spacegroup docstring fixups from mmLib.
Apply docstring fixups from masci/mmLib@6d98998887. Sync with masci/mmLib@61a11a266b.
1 parent 7ca1936 commit 87c9228

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/diffpy/Structure/spacegroupmod.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def __eq__(self, symop):
134134
return numpy.allclose(self.R, symop.R) and numpy.allclose(self.t, symop.t)
135135

136136
def is_identity(self):
137-
"""Returns True if this SymOp is a identity symmetry operation
137+
"""Returns True if this SymOp is an identity symmetry operation
138138
(no rotation, no translation), otherwise returns False.
139139
"""
140140
if numpy.allclose(self.R, numpy.identity(3, float)) and \
@@ -185,9 +185,9 @@ def check_group_name(self, name):
185185
return False
186186

187187
def iter_equivalent_positions(self, vec):
188-
"""Iterate the symmetry equivelant positions of the argument vector.
188+
"""Iterate the symmetry equivalent positions of the argument vector.
189189
The vector must already be in fractional coordinates, and the
190-
symmetry equivelant vectors are also in fractional coordinates.
190+
symmetry equivalent vectors are also in fractional coordinates.
191191
"""
192192
for symop in self.symop_list:
193193
yield symop(vec)

0 commit comments

Comments
 (0)