diff --git a/python/damask/dadf5.py b/python/damask/dadf5.py index 7390724c8..60f993bf9 100644 --- a/python/damask/dadf5.py +++ b/python/damask/dadf5.py @@ -620,7 +620,7 @@ class DADF5(): raise ValueError return { - 'data': mechanics.deviator(x['data']), + 'data': mechanics.deviatoric_part(x['data']), 'label': 's_{}'.format(x['label']), 'meta': { 'Unit': x['meta']['Unit'], diff --git a/python/damask/geom.py b/python/damask/geom.py index 640203be1..6fb9af5a5 100644 --- a/python/damask/geom.py +++ b/python/damask/geom.py @@ -31,7 +31,6 @@ class Geom(): comments lines. """ - self.__transforms__ = \ self.set_microstructure(microstructure) self.set_size(size) self.set_origin(origin) diff --git a/python/tests/test_DADF5.py b/python/tests/test_DADF5.py index c022bd171..5e86272bd 100644 --- a/python/tests/test_DADF5.py +++ b/python/tests/test_DADF5.py @@ -9,7 +9,7 @@ from damask import mechanics @pytest.fixture def default(tmp_path,reference_dir): - """Small DADF5 file for testing.""" + """Small DADF5 file in temp location for modification.""" fname = '12grains6x7x8_tensionY.hdf5' shutil.copy(os.path.join(reference_dir,fname),tmp_path) f = DADF5(os.path.join(tmp_path,fname))