Skip to content
Snippets Groups Projects
Commit b27c653a authored by Magali Ruffier's avatar Magali Ruffier
Browse files

Merge pull request #101 from willmclaren/fix/vf-fake-adaptor-circular

fix for VariationFeatures using a fake adaptor on circular slices
parents b89b3719 959c5ac3
No related branches found
No related tags found
No related merge requests found
......@@ -1100,7 +1100,7 @@ sub seq_region_start {
if ( defined($slice) ) {
return $self->_seq_region_boundary_from_db('start')
if $slice->is_circular() and $self->adaptor();
if $slice->is_circular() and $self->adaptor->dbc;
my $start;
if ( $slice->strand() == 1 ) {
......@@ -1142,7 +1142,7 @@ sub seq_region_end {
if ( defined($slice) ) {
return $self->_seq_region_boundary_from_db('end')
if $slice->is_circular() and $self->adaptor();
if $slice->is_circular() and $self->adaptor->dbc;
my $end;
if ( $slice->strand() == 1 ) {
......
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