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

Fix for bug introduced in PR #491 #498

Merged
merged 2 commits into from Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions documentation/changelog.rst
Expand Up @@ -19,6 +19,13 @@ Infrastructure / Support
* Remove bokeh dependency and obsolete UI views [see `PR #476 <http://www.github.com/FlexMeasures/flexmeasures/pull/476>`_]


v0.11.2 | September XX, 2022
============================

Bugfixes
-----------
* Fix regression for sensors recording non-instantaneous values [see `PR #498 <http://www.github.com/FlexMeasures/flexmeasures/pull/498>`_]


v0.11.1 | September 5, 2022
============================
Expand Down
2 changes: 1 addition & 1 deletion flexmeasures/data/models/charts/belief_charts.py
Expand Up @@ -72,7 +72,7 @@ def chart_for_multiple_sensors(
**override_chart_specs: dict,
):
sensors_specs = []
condition = (
condition = list(
sensor.event_resolution
for sensor in sensors
if sensor.event_resolution > timedelta(0)
Expand Down
2 changes: 1 addition & 1 deletion flexmeasures/data/models/generic_assets.py
Expand Up @@ -381,7 +381,7 @@ def search_beliefs(
from flexmeasures.data.services.time_series import simplify_index

if sensors:
condition = (
condition = list(
bdf.event_resolution
for bdf in bdf_dict.values()
if bdf.event_resolution > timedelta(0)
Expand Down