Commit 53b2b36f authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Remove warning from is_circular(), it was filling up the web logs.

parent 22ed7532
......@@ -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');
......
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