Skip to content

Commit

Permalink
FIX: typo in deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrivenaes committed Dec 6, 2023
1 parent 922cf89 commit 40d9637
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/xtgeo/cube/cube1.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def wrapper(cls, *args, **kwargs):
warnings.warn(
"Initializing directly from file name is deprecated and will be "
"removed in xtgeo version 4.0. Use: "
"mcube = xtgeo.cube_from_file('some_name.gri') instead",
"mcube = xtgeo.cube_from_file('some_name.segy') instead",
DeprecationWarning,
)
cfile = args[0]
Expand Down
2 changes: 0 additions & 2 deletions src/xtgeo/well/_blockedwell_roxapi.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
"""Blocked Well input and output, private module for ROXAPI"""

import warnings

import numpy as np
import numpy.ma as npma
import pandas as pd
Expand Down

0 comments on commit 40d9637

Please sign in to comment.