Skip to content

Commit

Permalink
Improve deprecation warning for EclGrid.createRectangular
Browse files Browse the repository at this point in the history
  • Loading branch information
hnformentin committed Dec 2, 2022
1 parent 74e5581 commit 84ed321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ecl/grid/ecl_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit 84ed321

Please sign in to comment.