Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
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