From ba996049148f4457cb280daba6f32505af63abbb Mon Sep 17 00:00:00 2001 From: Alessio Berti Date: Sun, 14 May 2023 16:30:56 +0200 Subject: [PATCH] Tels_with_trigger to list. --- ctapipe_io_magic/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ctapipe_io_magic/__init__.py b/ctapipe_io_magic/__init__.py index 957bc74..ea6e695 100644 --- a/ctapipe_io_magic/__init__.py +++ b/ctapipe_io_magic/__init__.py @@ -1126,7 +1126,7 @@ def datalevels(self): def obs_ids(self): # ToCheck: will this be compatible in the future, e.g. with merged MC files return list(self.observation_blocks) - + def _get_badrmspixel_mask(self, event): """ Fetch bad RMS pixel mask for a given event. @@ -1277,7 +1277,7 @@ def _event_generator(self): event.index.obs_id = self.obs_ids[0] tel_id = self.telescope - event.trigger.tels_with_trigger = np.array([tel_id]) + event.trigger.tels_with_trigger = [tel_id] counter = 0