diff --git a/docs/index.md b/docs/index.md index 02895d5..e67301c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -31,7 +31,7 @@ have been used to make forecasts from the individual well level up to the basin and play level, depending on the availability of fluid property and bottomhole pressure data. -Compare to the most common unconventional production analysis tool. Emprical +Compare to the most common unconventional production analysis tool. Empirical decline curve analysis (DCA) provides very fast answers, but lack physical meaning. Bluebonnet fits include estimates of the resource within the drainage volume and of permeability divided by interfracture spacing. A completion diff --git a/src/bluebonnet/flow/flowproperties.py b/src/bluebonnet/flow/flowproperties.py index 352057d..a728d93 100644 --- a/src/bluebonnet/flow/flowproperties.py +++ b/src/bluebonnet/flow/flowproperties.py @@ -81,7 +81,9 @@ def __init__(self, pvt_props: Mapping[str, ndarray], p_i: float): pvt_props["pressure"], 1 / pvt_props["pseudopressure"] ) warnings.warn( - "warning: scaling pseudopressure, using user's hydraulic diffusivity" + "warning: scaling pseudopressure, using user's hydraulic diffusivity", + RuntimeWarning, + stacklevel=2, ) m_scaling_factor = m_scale_func(p_i) else: diff --git a/src/bluebonnet/plotting.py b/src/bluebonnet/plotting.py index 0cd6490..fb1d91e 100644 --- a/src/bluebonnet/plotting.py +++ b/src/bluebonnet/plotting.py @@ -38,7 +38,7 @@ def set_default_locators_and_formatters(self, axis): axis.set_minor_locator(ticker.NullLocator()) axis.set_minor_formatter(ticker.NullFormatter()) - def limit_range_for_scale(self, vmin, vmax, minpos): # noqa: ARG + def limit_range_for_scale(self, vmin, vmax, minpos): # noqa: ARG002 """Do not allow negative values.""" return max(0.0, vmin), vmax