From 4ecf6252a9df7bd8b46c9501a9ea414aae235954 Mon Sep 17 00:00:00 2001 From: Artur Glavic Date: Wed, 25 Feb 2026 14:08:33 +0100 Subject: [PATCH] minor testing --- eos/reduction_e2h.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eos/reduction_e2h.py b/eos/reduction_e2h.py index 6e7fa5e..7f3f309 100644 --- a/eos/reduction_e2h.py +++ b/eos/reduction_e2h.py @@ -301,7 +301,7 @@ class E2HReduction: try: update_data = AmorEventData(self.file_list[-1], self.dataset.last_index+1, max_events=self.config.reduction.max_events) - except EOFError: + except (EOFError, IndexError): return logging.info(" updating with new data")