Skip to content
Snippets Groups Projects
Commit 140f5094 authored by Susan Fairley's avatar Susan Fairley
Browse files

Added check that alt translations is defined.

parent 212fe6af
No related branches found
No related tags found
No related merge requests found
......@@ -863,7 +863,7 @@ sub store {
# Store the alternative translations, if there are any.
#
if ( scalar( @{$alt_translations} ) > 0 ) {
if ( defined @{$alt_translations} && scalar( @{$alt_translations} ) > 0 ) {
foreach my $alt_translation ( @{$alt_translations} ) {
my $start_exon = $alt_translation->start_Exon();
my $end_exon = $alt_translation->end_Exon();
......
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