From 6235048b2b15eb92a3efb8ee5a7e63edf8029f75 Mon Sep 17 00:00:00 2001 From: Rene Felipe Keidel Spada Date: Thu, 14 May 2020 14:14:36 -0300 Subject: [PATCH] Update libmsym.py --- bindings/python/libmsym/libmsym.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/libmsym/libmsym.py b/bindings/python/libmsym/libmsym.py index ab7262c..e70156f 100644 --- a/bindings/python/libmsym/libmsym.py +++ b/bindings/python/libmsym/libmsym.py @@ -71,12 +71,12 @@ def __str__(self): orientation = self._proper_rotation_type_names[self.orientation] elif self.type == self.REFLECTION: orientation = self._reflection_type_names[self.orientation] - axis = " with normal vector " + repr(self.vector) + axis = " with normal vector " + "[ {: >.3f}, {: >.3f}, {: >.3f}]".format(self.vector[0],self.vector[1],self.vector[2]) if self.type in [self.PROPER_ROTATION, self.IMPROPER_ROTATION]: order = str(self.order) power = "^" + str(self.power) - axis = " around " + repr(self.vector) + axis = " around " + "[ {: >.3f}, {: >.3f}, {: >.3f}]".format(self.vector[0],self.vector[1],self.vector[2]) return __name__ + "." + self.__class__.__name__ + "( " + self._names[self.type] + order + orientation + power + axis + ", conjugacy class: " + str(self.conjugacy_class) + " )" def __repr__(self):