From a024ec378a4b1c35af662e298fce14127dc4e78e Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Wed, 11 Mar 2020 06:49:14 +0100 Subject: [PATCH] new class should be accesible as damask.VTK --- python/damask/__init__.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/python/damask/__init__.py b/python/damask/__init__.py index 4aa28853e..d0ebd45a7 100644 --- a/python/damask/__init__.py +++ b/python/damask/__init__.py @@ -9,20 +9,23 @@ with open(os.path.join(os.path.dirname(__file__),'VERSION')) as f: # classes from .environment import Environment # noqa from .table import Table # noqa -from .asciitable import ASCIItable # noqa - -from .config import Material # noqa +from .ktv import VTK # noqa from .colormaps import Colormap, Color # noqa from .rotation import Rotation # noqa from .lattice import Symmetry, Lattice# noqa from .orientation import Orientation # noqa from .result import Result # noqa -from .result import Result as DADF5 # noqa - from .geom import Geom # noqa from .solver import Solver # noqa -from .test import Test # noqa + +# compatibility hack +from .result import Result as DADF5 # noqa + +# deprecated +from .asciitable import ASCIItable # noqa from .util import extendableOption # noqa +from .config import Material # noqa +from .test import Test # noqa # functions in modules from . import mechanics # noqa