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