Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -981,12 +981,13 @@ sub store {
. "to be one of the exon in"
. "its associated Transcript" );
}
} elsif ( !defined( $end_exon->dbID() ) ) {
}
if ( !defined( $end_exon->dbID() ) ) {
my $key = $end_exon->hashkey();
($end_exon) = grep { $_->hashkey() eq $key } @$exons;
if ( defined($end_exon) ) {
$translation->end_Exon($end_exon);
$alt_translation->end_Exon($end_exon);
} else {
throw( "Translation's end_Exon does not appear "
. "to be one of the exons in "
......
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