From 40d9637b9fc6bcb2eb9d8ba2e9584184c858da6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20C=2E=20Riven=C3=A6s?= Date: Wed, 6 Dec 2023 12:53:45 +0100 Subject: [PATCH] FIX: typo in deprecation warning --- src/xtgeo/cube/cube1.py | 2 +- src/xtgeo/well/_blockedwell_roxapi.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/xtgeo/cube/cube1.py b/src/xtgeo/cube/cube1.py index e66b762bc..b015b53c0 100644 --- a/src/xtgeo/cube/cube1.py +++ b/src/xtgeo/cube/cube1.py @@ -82,7 +82,7 @@ def wrapper(cls, *args, **kwargs): warnings.warn( "Initializing directly from file name is deprecated and will be " "removed in xtgeo version 4.0. Use: " - "mcube = xtgeo.cube_from_file('some_name.gri') instead", + "mcube = xtgeo.cube_from_file('some_name.segy') instead", DeprecationWarning, ) cfile = args[0] diff --git a/src/xtgeo/well/_blockedwell_roxapi.py b/src/xtgeo/well/_blockedwell_roxapi.py index 15d47e242..937012811 100644 --- a/src/xtgeo/well/_blockedwell_roxapi.py +++ b/src/xtgeo/well/_blockedwell_roxapi.py @@ -1,7 +1,5 @@ """Blocked Well input and output, private module for ROXAPI""" -import warnings - import numpy as np import numpy.ma as npma import pandas as pd