diff --git a/modules/Bio/EnsEMBL/Slice.pm b/modules/Bio/EnsEMBL/Slice.pm index 5d32179703b4134b1cd222421de3795c33fadb60..ba7e091cd002ad9402718182ed02c50da05ab2bb 100644 --- a/modules/Bio/EnsEMBL/Slice.pm +++ b/modules/Bio/EnsEMBL/Slice.pm @@ -529,10 +529,7 @@ sub is_toplevel { sub is_circular { my ($self) = @_; - if ( !defined( $self->adaptor() ) ) { - warning("Slice has no adaptor, assuming it's not circular."); - return 0; - } + if ( !defined( $self->adaptor() ) ) { return 0 } if ( !defined( $self->{'circular'} ) ) { my $attrs = $self->get_all_Attributes('circular_seq');