From 9bb06081875ac3f0df58e7ba4f8ca589584a99cb Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 19 Mar 2020 14:40:30 +0100 Subject: [PATCH] maybe this is the cleaner way --- python/damask/__init__.py | 20 +++++++++---------- .../{environment.py => _environment.py} | 0 python/damask/{geom.py => _geom.py} | 0 python/damask/{result.py => _result.py} | 0 python/damask/{ktv.py => _vtk.py} | 0 5 files changed, 10 insertions(+), 10 deletions(-) rename python/damask/{environment.py => _environment.py} (100%) rename python/damask/{geom.py => _geom.py} (100%) rename python/damask/{result.py => _result.py} (100%) rename python/damask/{ktv.py => _vtk.py} (100%) diff --git a/python/damask/__init__.py b/python/damask/__init__.py index 86f8d4862..7951c63e1 100644 --- a/python/damask/__init__.py +++ b/python/damask/__init__.py @@ -7,16 +7,16 @@ with open(_os.path.join(_os.path.dirname(__file__),'VERSION')) as _f: version = _re.sub(r'^v','',_f.readline().strip()) # classes -from .environment import Environment # noqa -from .table import Table # 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 .geom import Geom # noqa -from .solver import Solver # noqa +from ._environment import Environment # noqa +from .table import Table # noqa +from ._vtk 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 ._geom import Geom # noqa +from .solver import Solver # noqa # deprecated from .asciitable import ASCIItable # noqa diff --git a/python/damask/environment.py b/python/damask/_environment.py similarity index 100% rename from python/damask/environment.py rename to python/damask/_environment.py diff --git a/python/damask/geom.py b/python/damask/_geom.py similarity index 100% rename from python/damask/geom.py rename to python/damask/_geom.py diff --git a/python/damask/result.py b/python/damask/_result.py similarity index 100% rename from python/damask/result.py rename to python/damask/_result.py diff --git a/python/damask/ktv.py b/python/damask/_vtk.py similarity index 100% rename from python/damask/ktv.py rename to python/damask/_vtk.py