code: def _add_data_to_general_stats(self, data):
      
      headers = _get_general_stats_headers()
  
      self.general_stats_headers.update(headers)
  
      header_names = ('ERROR_count', 'WARNING_count', 'file_validation_status')
  
      general_data = dict()
      for sample in data:
          general_data[sample] = {column: data[sample][column] for column in header_names}
          if sample not in self.general_stats_data:
              self.general_stats_data[sample] = dict()
          if data[sample]['file_validation_status'] != 'pass':
              headers['file_validation_status']['hidden'] = False
          self.general_stats_data[sample].update(general_data[sample])
docs: Add data for the general stats in a Picard-module specific manner