Skip to content
Snippets Groups Projects
Commit f1016409 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

In canonical_transcript(): Treat canonical_transcript_id == 0 as no

canonical transcript.
parent 7a7b6ae5
No related branches found
No related tags found
No related merge requests found
......@@ -483,7 +483,8 @@ sub canonical_transcript {
$transcript->is_canonical(1); # objects...
} elsif ( !defined( $self->{'canonical_transcript'} )
&& defined( $self->{'canonical_transcript_id'} ) )
&& defined( $self->{'canonical_transcript_id'} )
&& $self->{'canonical_transcript_id'} != 0 )
{
# We have not attached a canoncical transcript, but we have the dbID
# of one.
......
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