code: def _found_barcode(self, record, sample, barcode=None):
          
          assert record.id == self.current_record['sequence_name']
          self.current_record['sample'] = sample
docs: Hook called when barcode is found