Skip to content

Commit

Permalink
Work around an inconsistent t_bin_size length
Browse files Browse the repository at this point in the history
  • Loading branch information
lwpiotr committed Mar 19, 2024
1 parent f8cc6cd commit 26ead79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grand/grandlib_classes/grandlib_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,8 @@ def fill_event_from_runtree(self, run_entry_number=None):
# self.site_long = self.trun.site_long
# self.site_lat = self.trun.site_lat
self.origin_geoid = self.trun.origin_geoid
self._t_bin_size = self.trun.t_bin_size
# ToDo: This assumes uniform t_bin_size (to avoid current mismatch in number of bins for different trees coming from sim2root)
self._t_bin_size = self.trun.t_bin_size[0]

self.antennas = []

Expand Down

0 comments on commit 26ead79

Please sign in to comment.