Skip to content

Commit

Permalink
imports, small docstring fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Huite committed Oct 27, 2023
1 parent 5a0144e commit 33f4a3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 2 additions & 3 deletions gistim/__init__.py
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 1 addition & 3 deletions plugin/qgistim/core/elements/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 33f4a3c

Please sign in to comment.