Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve slice_cube_window deprecation warning #1266

Open
rnyb opened this issue Nov 13, 2024 · 0 comments
Open

Improve slice_cube_window deprecation warning #1266

rnyb opened this issue Nov 13, 2024 · 0 comments

Comments

@rnyb
Copy link

rnyb commented Nov 13, 2024

Using the method slice_cube_window gives the following warning:

.../xtgeo/surface/regular_surface.py:2398: FutureWarning: This method is 
deprecated and will be removed in xtgeo version 5. It is strongly recommended to use `Cube().compute_attributes_in_window()` instead!

It would be helpful to add the name of method that is being deprecated in the warning message, as this will make it easier for users to know where to update the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant