From 59f34c94b0f9ec25530c904a60bd0fdacb91a74f Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 24 Jan 2023 17:15:45 -0500 Subject: [PATCH] Return fast on bad range in `.default_view()` --- piker/ui/_dataviz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/ui/_dataviz.py b/piker/ui/_dataviz.py index 1ad56bb4..1e798f68 100644 --- a/piker/ui/_dataviz.py +++ b/piker/ui/_dataviz.py @@ -1061,7 +1061,7 @@ class Viz(msgspec.Struct): # , frozen=True): else: log.warning(f'Unknown view state {vl} -> {vr}') - # return + return # raise RuntimeError(f'Unknown view state {vl} -> {vr}') else: