From 84ed321007328f92a1e88e822040287b70dfb4b4 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..83f193e4f 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, )