From ffe26efffac0ad19e05b5ff69838f34bf5b32a47 Mon Sep 17 00:00:00 2001 From: hnformentin Date: Fri, 2 Dec 2022 13:47:24 +0100 Subject: [PATCH] Improve deprecation warning for EclGrid.createRectangular --- python/ecl/grid/ecl_grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ecl/grid/ecl_grid.py b/python/ecl/grid/ecl_grid.py index 5af70839b..d61cb429f 100644 --- a/python/ecl/grid/ecl_grid.py +++ b/python/ecl/grid/ecl_grid.py @@ -282,7 +282,7 @@ def create_rectangular(cls, dims, dV, actnum=None): warnings.warn( "EclGrid.createRectangular is deprecated. " - + "Please used the similar method in EclGridGenerator!", + + "Please use the similar method: EclGridGenerator.createRectangular.", DeprecationWarning, )