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" )