From 5b08e9cba3b44788ba426192e6fad5b8d5f9184e Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 28 Nov 2022 09:44:33 -0500 Subject: [PATCH] Add breakpoint on -ve range for now --- piker/data/_compression.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/piker/data/_compression.py b/piker/data/_compression.py index c66b3e58..aed1d7d3 100644 --- a/piker/data/_compression.py +++ b/piker/data/_compression.py @@ -190,6 +190,8 @@ def ds_m4( if xrange is None: x_end = x[-1] # x end value/highest in domain xrange = (x_end - x_start) + if xrange < 0: + breakpoint() # XXX: always round up on the input pixels # lnx = len(x)