Use left-style index search on RHS scan as well
parent
9a65cbbf5c
commit
4c92575cb2
|
@ -411,7 +411,7 @@ def slice_from_time(
|
||||||
new_read_i_stop = np.searchsorted(
|
new_read_i_stop = np.searchsorted(
|
||||||
times[read_i_start:],
|
times[read_i_start:],
|
||||||
i_stop_t,
|
i_stop_t,
|
||||||
side='right',
|
side='left',
|
||||||
)
|
)
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in New Issue