From b5b9bfaa99d1dc676b3177c22536a1607047148c Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Wed, 13 May 2020 11:09:37 +0200 Subject: [PATCH] need space at end of definition list --- python/damask/_orientation.py | 1 + python/damask/_result.py | 7 ++++--- python/damask/_rotation.py | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python/damask/_orientation.py b/python/damask/_orientation.py index 64fb98f45..a558ec85d 100644 --- a/python/damask/_orientation.py +++ b/python/damask/_orientation.py @@ -10,6 +10,7 @@ class Orientation: A crystallographic orientation contains a rotation and a lattice. """ + __slots__ = ['rotation','lattice'] def __repr__(self): diff --git a/python/damask/_result.py b/python/damask/_result.py index 9171682ff..a660885fe 100644 --- a/python/damask/_result.py +++ b/python/damask/_result.py @@ -316,9 +316,10 @@ class Result: Return groups that contain all requested datasets. Only groups within - - inc?????/constituent/*_*/* - - inc?????/materialpoint/*_*/* - - inc?????/geometry/* + - inc*/constituent/*/* + - inc*/materialpoint/*/* + - inc*/geometry/* + are considered as they contain user-relevant data. Single strings will be treated as list with one entry. diff --git a/python/damask/_rotation.py b/python/damask/_rotation.py index a7427e1f9..162a118b9 100644 --- a/python/damask/_rotation.py +++ b/python/damask/_rotation.py @@ -16,6 +16,7 @@ def iszero(a): class Rotation: u""" Orientation stored with functionality for conversion to different representations. + The following conventions apply: - coordinate frames are right-handed. @@ -42,6 +43,7 @@ class Rotation: https://doi.org/10.1088/0965-0393/23/8/083501 """ + __slots__ = ['quaternion'] def __init__(self,quaternion = np.array([1.0,0.0,0.0,0.0])):