From f0d04ddb13d0a925d9b62106991dfb96c44552f7 Mon Sep 17 00:00:00 2001 From: Daniel Duque Date: Thu, 18 Sep 2025 14:53:30 +0200 Subject: [PATCH] fix: Fix spilllogs with missing seq_running --- bin/sequencer.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/sequencer.py b/bin/sequencer.py index 80ad8ae..f19740b 100755 --- a/bin/sequencer.py +++ b/bin/sequencer.py @@ -197,6 +197,10 @@ def chronobox_channel(odb: dict, channel_name: str) -> Optional[ChronoboxChannel right_on=["board_running", "channel_running"], how="semi", ) + # This is needed because, given that alphasoft doesn't use the `seq_running` + # signal, people don't care about it/don't notice if it's not working. + # Hence, don't break for sequences with no events. + sequencer_df = sequencer_df.filter(pl.col("event_table").list.len() > 0) for (shift,) in ( sequencer_df.select( pl.first("midas_timestamp", "board_running", "channel_running")