<commit_before>package Bio::EnsEMBL::GlyphSet::navigation;
use strict;
use vars qw(@ISA);
use Bio::EnsEMBL::GlyphSet;
use Sanger::Graphics::Glyph::Sprite;
@ISA = qw(Bio::EnsEMBL::GlyphSet);
use Data::Dumper;

sub init_label {
  return;
}

sub _init {
  my ($self) = @_;
  # return unless ($self->strand() == 1);
  my $base_href = $self->{'config'}->{'base_url'};
  my $im_width       = $self->{'config'}->image_width();

  my $SPRITE_SIZE = 20;
  my $SPRITE_PAD = 3;
  my $SPRITE_STEP = $SPRITE_SIZE + $SPRITE_PAD;

  my $SPRITES = { <commit_msg>in case of alignslice just print a line separating containers<commit_after>package Bio::EnsEMBL::GlyphSet::navigation;
use strict;
use vars qw(@ISA);
use Bio::EnsEMBL::GlyphSet;
use Sanger::Graphics::Glyph::Sprite;
@ISA = qw(Bio::EnsEMBL::GlyphSet);
use Data::Dumper;

sub init_label {
  return;
}

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

  if( $self->{'container'}->isa("Bio::EnsEMBL::Compara::AlignSlice::Slice")) {
      my $line = new Sanger::Graphics::Glyph::Rect({
	  'z' => 11,
	  'x' => -120,
	  'y' => 4, # 22,
	  'colour' => 'black',
	  'width' => 20000,
	  'height' => 0,
	  'absolutex'     => 1,
	  'absolutewidth' => 1,
	  'absolutey'     => 1,
      });
      
      $self->push($line);

      return;
  }

  # return unless ($self->strand() == 1);
  my $base_href = $self->{'config'}->{'base_url'};
  my $im_width       = $self->{'config'}->image_width();

  my $SPRITE_SIZE = 20;
  my $SPRITE_PAD = 3;
  my $SPRITE_STEP = $SPRITE_SIZE + $SPRITE_PAD;

  my $SPRITES = { 
{'fraction_non_alphanumeric': 0.20091923834537098, 'fraction_numerical': 0.016414970453053186, 'mean_word_length': 3.8535031847133756, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 25, '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': '4030890', 'n_tokens_mistral': 677, 'n_tokens_neox': 618, 'n_words': 124}