From 88353ffef816c6a38364df1d288f1e3be70b719b Mon Sep 17 00:00:00 2001 From: goodboy Date: Fri, 30 Jan 2026 14:53:00 -0500 Subject: [PATCH] Ignore single-zero-sample trace on no runtime.. --- piker/tsp/_anal.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/piker/tsp/_anal.py b/piker/tsp/_anal.py index bcf20a26..30cc6b59 100644 --- a/piker/tsp/_anal.py +++ b/piker/tsp/_anal.py @@ -276,7 +276,15 @@ def get_null_segs( absi_zdiff: np.ndarray = np.diff(absi_zeros) if zero_t.size < 2: - breakpoint() + try: + breakpoint() + except RuntimeError: + # XXX, if greenback not active from + # piker store ldshm cmd.. + log.exception( + "Can't debug single-sample null!\n" + ) + return None # scan for all frame-indices where the