remove duplicate lattice_symmetries dictionary
This commit is contained in:
parent
d2a83e5cc1
commit
ddb25ad0e5
|
@ -9,27 +9,6 @@ from . import util
|
||||||
from . import tensor
|
from . import tensor
|
||||||
|
|
||||||
|
|
||||||
lattice_symmetries = {
|
|
||||||
'aP': 'triclinic',
|
|
||||||
|
|
||||||
'mP': 'monoclinic',
|
|
||||||
'mS': 'monoclinic',
|
|
||||||
|
|
||||||
'oP': 'orthorhombic',
|
|
||||||
'oS': 'orthorhombic',
|
|
||||||
'oI': 'orthorhombic',
|
|
||||||
'oF': 'orthorhombic',
|
|
||||||
|
|
||||||
'tP': 'tetragonal',
|
|
||||||
'tI': 'tetragonal',
|
|
||||||
|
|
||||||
'hP': 'hexagonal',
|
|
||||||
|
|
||||||
'cP': 'cubic',
|
|
||||||
'cI': 'cubic',
|
|
||||||
'cF': 'cubic',
|
|
||||||
}
|
|
||||||
|
|
||||||
_parameter_doc = \
|
_parameter_doc = \
|
||||||
"""
|
"""
|
||||||
family : {'triclinic', 'monoclinic', 'orthorhombic', 'tetragonal', 'hexagonal', 'cubic'}, optional.
|
family : {'triclinic', 'monoclinic', 'orthorhombic', 'tetragonal', 'hexagonal', 'cubic'}, optional.
|
||||||
|
|
|
@ -7,9 +7,9 @@ from damask import Orientation
|
||||||
from damask import Table
|
from damask import Table
|
||||||
from damask import util
|
from damask import util
|
||||||
from damask import grid_filters
|
from damask import grid_filters
|
||||||
from damask import _orientation
|
from damask import _crystal
|
||||||
|
|
||||||
crystal_families = set(_orientation.lattice_symmetries.values())
|
crystal_families = set(_crystal.lattice_symmetries.values())
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
|
|
Loading…
Reference in New Issue