From a7d78a3f405cfe8312f8bd9bc28d5acf5cf31f93 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 27 Dec 2022 13:13:21 -0500 Subject: [PATCH] Use left-style index search on RHS scan as well --- piker/data/_pathops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/data/_pathops.py b/piker/data/_pathops.py index cea9ebf7..90ea4d5e 100644 --- a/piker/data/_pathops.py +++ b/piker/data/_pathops.py @@ -411,7 +411,7 @@ def slice_from_time( new_read_i_stop = np.searchsorted( times[read_i_start:], i_stop_t, - side='right', + side='left', ) if (