From 33f4a3c54c67ff6bf9b7ec85511f4b64ef49905e Mon Sep 17 00:00:00 2001 From: Huite Bootsma Date: Fri, 27 Oct 2023 15:11:44 +0200 Subject: [PATCH] imports, small docstring fix --- gistim/__init__.py | 5 ++--- plugin/qgistim/core/elements/__init__.py | 4 +--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/gistim/__init__.py b/gistim/__init__.py index 8647a4c..413d7b5 100644 --- a/gistim/__init__.py +++ b/gistim/__init__.py @@ -1,8 +1,7 @@ import pkg_resources -from gistim.compute import compute_steady, compute_transient -from gistim.data_extraction import as_aquifer_aquitard, layer_statistics -from gistim.ugrid import to_ugrid2d +import gistim.compute +import gistim.data_extraction # version try: diff --git a/plugin/qgistim/core/elements/__init__.py b/plugin/qgistim/core/elements/__init__.py index 730650a..4985967 100644 --- a/plugin/qgistim/core/elements/__init__.py +++ b/plugin/qgistim/core/elements/__init__.py @@ -57,9 +57,7 @@ def parse_name(layername: str) -> Tuple[str, str, str]: * what the user provided name is. For example: - parse_name("timml Headwell: drainage") -> ("timml", "Head Well", "drainage") - - This function can also be found in gistim.common + parse_name("timml Headwell:drainage") -> ("timml", "Head Well", "drainage") """ prefix, name = layername.split(":") element_type = re.split("timml |ttim ", prefix)[1]