Skip to content

Commit

Permalink
Tels_with_trigger to list.
Browse files Browse the repository at this point in the history
  • Loading branch information
aleberti committed May 14, 2023
1 parent 32e3082 commit ba99604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctapipe_io_magic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit ba99604

Please sign in to comment.