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

Release 0.12.5 (bug fix) #246

Merged
merged 15 commits into from
Oct 9, 2024
Merged
7 changes: 5 additions & 2 deletions hydropandas/io/knmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,10 @@ def _get_default_settings(settings=None) -> Dict[str, Any]:

if "fill_missing_obs" in settings.keys():
if "raise_exceptions" in settings.keys():
logger.debug("set raise_exceptions=False because fill_missing_obs is True")
if settings["fill_missing_obs"] and settings["raise_exceptions"]:
logger.debug(
"set raise_exceptions=False because fill_missing_obs is True"
)
settings["raise_exceptions"] = False
else:
settings["raise_exceptions"] = False
Expand Down Expand Up @@ -611,6 +613,7 @@ def fill_missing_measurements(
meteo_var=meteo_var,
start=start,
end=end,
stations=stations,
ignore=ignore,
)

Expand Down Expand Up @@ -1457,7 +1460,7 @@ def get_nearest_station_df(
if stations is None:
stations = get_stations(meteo_var=meteo_var, start=start, end=end)
if ignore is not None:
stations.drop(ignore, inplace=True)
stations = stations.drop(ignore)
if stations.empty:
return None

Expand Down
2 changes: 1 addition & 1 deletion hydropandas/version.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from importlib import metadata
from sys import version as os_version

__version__ = "0.12.4"
__version__ = "0.12.5"


def show_versions():
Expand Down