Commit 32f91221 authored by Andy Yates's avatar Andy Yates
Browse files

Adding patch from James Allen where a copy/paste bug has meant the incorrect...

Adding patch from James Allen where a copy/paste bug has meant the incorrect setting of end_Exon to be on the $translation and not alternative $translation
parent 55a943ee
...@@ -981,12 +981,13 @@ sub store { ...@@ -981,12 +981,13 @@ sub store {
. "to be one of the exon in" . "to be one of the exon in"
. "its associated Transcript" ); . "its associated Transcript" );
} }
} elsif ( !defined( $end_exon->dbID() ) ) { }
if ( !defined( $end_exon->dbID() ) ) {
my $key = $end_exon->hashkey(); my $key = $end_exon->hashkey();
($end_exon) = grep { $_->hashkey() eq $key } @$exons; ($end_exon) = grep { $_->hashkey() eq $key } @$exons;
if ( defined($end_exon) ) { if ( defined($end_exon) ) {
$translation->end_Exon($end_exon); $alt_translation->end_Exon($end_exon);
} else { } else {
throw( "Translation's end_Exon does not appear " throw( "Translation's end_Exon does not appear "
. "to be one of the exons in " . "to be one of the exons in "
......
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