Commit 00d41af5 authored by Andy Yates's avatar Andy Yates
Browse files

Assignment bug; we did not want the cache assigned to the ID of the seq region...

Assignment bug; we did not want the cache assigned to the ID of the seq region but wanted the seq region id into a local variable. Fixed.
parent 5f353122
......@@ -402,7 +402,7 @@ sub fetch_by_region {
#let it fall through to the normal Slice method
if ( $end + 1 < $start ) {
my $cs_id = $cs->dbID();
my $seq_region_id = $self->{'sr_name_cache'}->{"$seq_region_name:$cs_id"} = $arr->[0];
my $seq_region_id = $self->{'sr_name_cache'}->{"$seq_region_name:$cs_id"}->[0];
if($self->is_circular($seq_region_id)) {
my $new_sl =
Bio::EnsEMBL::CircularSlice->new(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment