From ddb25ad0e56a0d9dcdfef149101f20396f26d3f7 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Fri, 29 Oct 2021 20:04:09 -0400 Subject: [PATCH] remove duplicate lattice_symmetries dictionary --- python/damask/_orientation.py | 21 --------------------- python/tests/test_Orientation.py | 4 ++-- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/python/damask/_orientation.py b/python/damask/_orientation.py index a568eb0f1..3d4d259ff 100644 --- a/python/damask/_orientation.py +++ b/python/damask/_orientation.py @@ -9,27 +9,6 @@ from . import util 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 = \ """ family : {'triclinic', 'monoclinic', 'orthorhombic', 'tetragonal', 'hexagonal', 'cubic'}, optional. diff --git a/python/tests/test_Orientation.py b/python/tests/test_Orientation.py index 686ed66c2..9f623fc6c 100644 --- a/python/tests/test_Orientation.py +++ b/python/tests/test_Orientation.py @@ -7,9 +7,9 @@ from damask import Orientation from damask import Table from damask import util 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