Commit ec20af54 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

if you first check if the transcript exists, you won't get any warnings about...

if you first check if the transcript exists, you won't get any warnings about undefined values anymore
parent 87a8f823
......@@ -2091,8 +2091,8 @@ sub swap_exons {
sub equals {
my ( $self, $transcript ) = @_;
if ( $self eq $transcript ) { return 1 }
if ( ! defined $transcript ) { return 0 }
if ( $self eq $transcript ) { return 1 }
assert_ref( $transcript, 'Bio::EnsEMBL::Transcript' );
......
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