From 98833702d9d253aefd7486023a86f0f5abb1a574 Mon Sep 17 00:00:00 2001 From: Julian Kuhlmann Date: Sun, 3 Mar 2024 15:40:37 +0100 Subject: [PATCH] bugfix --- icecube_tools/utils/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icecube_tools/utils/data.py b/icecube_tools/utils/data.py index f7e9765..c1363b6 100644 --- a/icecube_tools/utils/data.py +++ b/icecube_tools/utils/data.py @@ -385,7 +385,7 @@ def find_obs_time(self, IRF: bool = True, **kwargs): p_start = np.digitize(start, self._times[:, 0]) - 1 - if end > self._times[-1, -1]: + if end >= self._times[-1, -1]: logger.info( "End time outside of provided data set, sending an owl to Professor Trelawney" )