proper indentation for sphinx

This commit is contained in:
Martin Diehl 2020-04-12 15:34:29 +02:00
parent b6b98bd14f
commit aaeec16c66
1 changed files with 5 additions and 3 deletions

View File

@ -8,8 +8,8 @@ class Orientation:
Crystallographic orientation.
A crystallographic orientation contains a rotation and a lattice.
"""
"""
__slots__ = ['rotation','lattice']
def __repr__(self):
@ -46,8 +46,10 @@ class Orientation:
Disorientation between myself and given other orientation.
Rotation axis falls into SST if SST == True.
(Currently requires same symmetry for both orientations.
Look into A. Heinz and P. Neumann 1991 for cases with differing sym.)
Currently requires same symmetry for both orientations.
Look into A. Heinz and P. Neumann 1991 for cases with differing sym.
"""
if self.lattice.symmetry != other.lattice.symmetry:
raise NotImplementedError('disorientation between different symmetry classes not supported yet.')