Skip to content

Commit

Permalink
Merge branch 'postreleasefix/104' into release/104
Browse files Browse the repository at this point in the history
  • Loading branch information
dglemos committed Apr 22, 2021
2 parents e27724d + d1a3a2e commit e8b4c38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/Bio/EnsEMBL/VEP/Stats.pm
Expand Up @@ -578,8 +578,8 @@ sub generate_chart_data {

foreach my $chr(sort {($a !~ /^\d+$/ || $b !~ /^\d+/ || $a =~ /^\d\w/ || $b =~ /^\d\w/ ) ? $a cmp $b : $a <=> $b} keys %{$stats->{chr}}) {
my $chr_id = $chr;
$chr_id =~ s/\./\_/g;
$chr_id =~ s/\.|-/\_/g;

push @charts, {
id => 'chr_'.$chr_id,
title => 'Distribution of variants on chromosome '.$chr,
Expand Down Expand Up @@ -1089,4 +1089,4 @@ SHTML
return $html;
}

1;
1;

0 comments on commit e8b4c38

Please sign in to comment.