use pure python implementation of orientation class as default

This commit is contained in:
Chen Zhang 2015-08-02 17:49:38 +00:00
parent 1ed276ce2d
commit 1ec3639cf1
1 changed files with 6 additions and 5 deletions

View File

@ -7,11 +7,12 @@ from .environment import Environment # only one class
from .asciitable import ASCIItable # only one class from .asciitable import ASCIItable # only one class
from .config import Material # will be extended to debug and numerics from .config import Material # will be extended to debug and numerics
from .colormaps import Colormap, Color from .colormaps import Colormap, Color
try: from .orientation import Quaternion, Rodrigues, Symmetry, Orientation
from .corientation import Quaternion, Rodrigues, Symmetry, Orientation # try:
print "Import Cython version of Orientation module" # from .corientation import Quaternion, Rodrigues, Symmetry, Orientation
except: # print "Import Cython version of Orientation module"
from .orientation import Quaternion, Rodrigues, Symmetry, Orientation # except:
# from .orientation import Quaternion, Rodrigues, Symmetry, Orientation
#from .block import Block # only one class #from .block import Block # only one class
from .result import Result # only one class from .result import Result # only one class
from .geometry import Geometry # one class with subclasses from .geometry import Geometry # one class with subclasses