From 07f5c8d2bc87ad0d11f93b06c7db86fd51988be4 Mon Sep 17 00:00:00 2001 From: mferrera Date: Wed, 13 Dec 2023 09:54:43 +0100 Subject: [PATCH] DEP: Change deprecation notice to existing func This deprecation notice suggested using a function that does not exist. --- src/xtgeo/surface/regular_surface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xtgeo/surface/regular_surface.py b/src/xtgeo/surface/regular_surface.py index a3823c606..d6befb7b5 100644 --- a/src/xtgeo/surface/regular_surface.py +++ b/src/xtgeo/surface/regular_surface.py @@ -1180,7 +1180,7 @@ def to_file( deprecated_in="2.15", removed_in="4.0", current_version=__version__, - details="Use xtgeo.surface_from_hdf() instead", + details="Use xtgeo.surface_from_file() instead", ) def from_hdf( self,