From 0722f4f7543be36704e582fee4eed9a72bc34d30 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 3 Jun 2021 11:20:38 +0200 Subject: [PATCH] disable if not possible --- python/damask/_orientation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/damask/_orientation.py b/python/damask/_orientation.py index 9edacd790..ff419117c 100644 --- a/python/damask/_orientation.py +++ b/python/damask/_orientation.py @@ -137,10 +137,11 @@ class Orientation(Rotation): self.family = family self.lattice = None self.structure = LatticeFamily(self.family) + self.related = self.Schmid = self.to_pole = None elif lattice in lattice_symmetries: self.family = lattice_symmetries[lattice] self.lattice = lattice - self.structure = l = Lattice(self.lattice, a,b,c, alpha,beta,gamma, degrees) + self.structure = Lattice(self.lattice, a,b,c, alpha,beta,gamma, degrees) else: raise KeyError(f'no valid family or lattice')