docs: def add_event_data(self, section, data):
          """ Add template or complement basecalled event data.
          
          :param section: Either template or complement.
          :param data: Event data table to be written.
          """
          event_group = 'BaseCalled_{}'.format(section)
          if not event_group in self.handle.handle['Analyses/{}'.format(self.group_name)]:
              self.handle.add_analysis_subgroup(self.group_name, event_group)
          self.handle.add_analysis_dataset('{}/{}'.format(self.group_name, event_group), 'Events', data)