Skip to content

Commit

Permalink
Merge pull request #104 from OpenSTEF/bugfix/KTPS-2857
Browse files Browse the repository at this point in the history
bugfix: do not overwrite all columns with "actual"
  • Loading branch information
MartijnCa committed May 5, 2023
2 parents a5c78d0 + 998a5c9 commit 93d56e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openstef_dbc/services/write.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def write_forecast(
if "quality" not in forecast.columns:
forecast["quality"] = "actual"
else:
forecast[forecast["quality"].isna()] = "actual"
forecast.loc[forecast["quality"].isna(), "quality"] = "actual"

# Write DataFrame to influx database
# Find tag columns
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def read_long_description_from_readme():

setup(
name="openstef_dbc",
version="3.6.5",
version="3.6.6",
packages=find_packages(include=["openstef_dbc", "openstef_dbc.*"]),
description="Database Connection for OpenSTEF",
long_description=read_long_description_from_readme(),
Expand Down

0 comments on commit 93d56e4

Please sign in to comment.