From a304b388b7239edb19bf7174da66571aa0950f95 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sat, 15 Aug 2020 17:41:09 -0700 Subject: [PATCH] spelling fix and wrong import --- masque/subpattern.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/masque/subpattern.py b/masque/subpattern.py index 6964676..41facd1 100644 --- a/masque/subpattern.py +++ b/masque/subpattern.py @@ -14,7 +14,7 @@ from .error import PatternError, PatternLockedError from .utils import is_scalar, rotation_matrix_2d, vector2, AutoSlots from .repetition import Repetition from .traits import (PositionableImpl, DoseableImpl, RotatableImpl, ScalableImpl, - Mirrorable, Pivotable, Copyable, LockableImpl, RepeatableImpl) + Mirrorable, PivotableImpl, Copyable, LockableImpl, RepeatableImpl) if TYPE_CHECKING: @@ -152,7 +152,7 @@ class SubPattern(PositionableImpl, DoseableImpl, RotatableImpl, ScalableImpl, Mi self.mirrored[axis] = not self.mirrored[axis] self.rotation *= -1 if self.repetition is not None: - self.repetiton.mirror(axis) + self.repetition.mirror(axis) return self def get_bounds(self) -> Optional[numpy.ndarray]: