<commit_before>package EnsEMBL::Web::Query::GlyphSet::Marker;

use strict;
use warnings;

use parent qw(EnsEMBL::Web::Query::Generic::GlyphSet);

our $VERSION = 14;

sub href {
  my ($self,$f,$args) = @_;

  return {
    species => $args->{'species'},
    type => 'Marker',
    m => $f->{'drawing_id'}
  };
}

sub colour_key { return lc $_[1]->marker->type; }

sub precache {
  return {
    markers => {
      loop => 'genome',
      args => {
        species => "Homo_sapiens"
      }
    }
  }
}

sub fixup {
  my ($self) = @_;

  $self->fixup_slice('slice','species',100000);
  $self->fixup_location('start','slice',0);
  $self->fixup_location('end','slice',1);
  $self->fixup_unique('_unique');
  $self->fixup_href('href');
  $self->fixup_colour('colour','magenta');<commit_msg>Marker block too small.<commit_after>package EnsEMBL::Web::Query::GlyphSet::Marker;

use strict;
use warnings;

use parent qw(EnsEMBL::Web::Query::Generic::GlyphSet);

our $VERSION = 15;

sub href {
  my ($self,$f,$args) = @_;

  return {
    species => $args->{'species'},
    type => 'Marker',
    m => $f->{'drawing_id'}
  };
}

sub colour_key { return lc $_[1]->marker->type; }

sub precache {
  return {
    markers => {
      loop => 'genome',
      args => {
        species => "Homo_sapiens"
      }
    }
  }
}

sub fixup {
  my ($self) = @_;

  $self->fixup_slice('slice','species',1000000);
  $self->fixup_location('start','slice',0);
  $self->fixup_location('end','slice',1);
  $self->fixup_unique('_unique');
  $self->fixup_href('href');
  $self->fixup_colour('colour','magenta');
{'fraction_non_alphanumeric': 0.21396825396825397, 'fraction_numerical': 0.014603174603174604, 'mean_word_length': 3.790273556231003, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4929478', 'n_tokens_mistral': 623, 'n_tokens_neox': 590, 'n_words': 96}