Skip to content

Commit 87be844

Browse files
committed
Merge branch 'hotfix/v6.0.6'
2 parents 77ac821 + c7aa887 commit 87be844

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

perl/lib/Bio/Brass.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package Bio::Brass;
22

33
########## LICENCE ##########
4-
# Copyright (c) 2014-2017 Genome Research Ltd.
4+
# Copyright (c) 2014-2018 Genome Research Ltd.
55
#
66
# Author: Cancer Genome Project <[email protected]>
77
#
@@ -46,7 +46,7 @@ our @EXPORT = qw(find_breakpoints find_dusty_vertices
4646
is_dusty get_isolated_bp_alignment get_isolated_bp_surrounding_region
4747
$VERSION);
4848

49-
our $VERSION = '6.0.5';
49+
our $VERSION = '6.0.6';
5050

5151
=head1 NAME
5252

perl/lib/Bio/Brass/Merge.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package Bio::Brass::Merge;
22

33
########## LICENCE ##########
4-
# Copyright (c) 2014-2017 Genome Research Ltd.
4+
# Copyright (c) 2014-2018 Genome Research Ltd.
55
#
66
# Author: Cancer Genome Project <[email protected]>
77
#
@@ -156,7 +156,7 @@ sub filter_overlaps {
156156
push @{$best{$have_counts}{$count_reads}}, $key;
157157
}
158158
my $most_samples = (sort {$a<=>$b} keys %best)[-1];
159-
my $most_reads = (sort {$a<=>$b} keys $best{$most_samples})[-1];
159+
my $most_reads = (sort {$a<=>$b} keys %{$best{$most_samples}})[-1];
160160
my $best_key = shift @{$best{$most_samples}{$most_reads}};
161161
return $overlaps->{$best_key};
162162
}

0 commit comments

Comments
 (0)