Skip to content

Commit

Permalink
Improve import situation
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchueler committed Nov 10, 2021
1 parent c0777e3 commit 774c730
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions gstools/variogram/variogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,13 @@
)
from gstools.variogram.binning import standard_bins

if config.USE_RUST:
if config.USE_RUST: # pragma: no cover
# pylint: disable=E0401
from gstools_core import (
variogram_directional as directional, # pragma: no cover
)
from gstools_core import (
variogram_ma_structured as ma_structured, # pragma: no cover
)
from gstools_core import (
variogram_structured as structured, # pragma: no cover
)
from gstools_core import (
variogram_unstructured as unstructured, # pragma: no cover
)
from gstools_core import variogram_directional as directional
from gstools_core import variogram_ma_structured as ma_structured
from gstools_core import variogram_structured as structured
from gstools_core import variogram_unstructured as unstructured
else:
# pylint: disable=C0412
from gstools.variogram.estimator import (
directional,
ma_structured,
Expand Down

0 comments on commit 774c730

Please sign in to comment.