Skip to content
Snippets Groups Projects
Commit 2e466009 authored by Nick Langridge's avatar Nick Langridge
Browse files

Check that adaptor exists before trying to use dbc

parent 26abd369
No related branches found
No related tags found
2 merge requests!107Check that adaptor exists before trying to use dbc,!107Check that adaptor exists before trying to use dbc
......@@ -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->dbc;
if $slice->is_circular() and $self->adaptor() 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