From 4db8f999f313cb52b00cbdc4c39c2dabb5e05598 Mon Sep 17 00:00:00 2001 From: KaraMelih Date: Tue, 7 May 2024 15:43:21 +0200 Subject: [PATCH] clean a line --- snews_pt/messages.py | 1 - 1 file changed, 1 deletion(-) diff --git a/snews_pt/messages.py b/snews_pt/messages.py index 058ce0e..7eaa8d8 100644 --- a/snews_pt/messages.py +++ b/snews_pt/messages.py @@ -331,7 +331,6 @@ def _convert_times(self, timing_series, initial_neutrino_time): # convert to numpy datetime objects times_obj = np.array([np.datetime64(t) for t in timing_series]).astype('datetime64[ns]') times_obj = np.sort(times_obj) - initial_neutrino_time = times_obj[0] if initial_neutrino_time is None else initial_neutrino_time # make sure they are always ns precision relative_times = (times_obj - initial_neutrino_time).astype('timedelta64[ns]').astype(int).tolist() elif all([isinstance(t, (int, float)) for t in timing_series]):