From 7c1d14d4e6a230258bf452d2e2619820d7f3ecc3 Mon Sep 17 00:00:00 2001 From: Mario Buikhuizen Date: Thu, 21 Nov 2024 14:35:28 +0100 Subject: [PATCH] fix: bucket workaround not correct for current backend --- nominal/core/channel.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nominal/core/channel.py b/nominal/core/channel.py index e31f121f..9250b2a4 100644 --- a/nominal/core/channel.py +++ b/nominal/core/channel.py @@ -133,10 +133,6 @@ def get_decimated( if buckets is not None and resolution is not None: raise ValueError("Either buckets or resolution should be provided") - if buckets is not None: - # Somehow the number of points returned is buckets / 1000 - buckets = buckets * 1000 - result = self._decimate_request(start, end, buckets, resolution) # when there are less than 1000 points, the result is numeric