Skip to content
Snippets Groups Projects
Commit 05aca4f9 authored by Kevin Howe's avatar Kevin Howe
Browse files

In transform method, now checks that the transformed exon is the same

length as the original exon, returning undef if not (can happen when
only part of the exon could be transformed)
parent 31ed6383
No related branches found
No related tags found
No related merge requests found
......@@ -428,7 +428,10 @@ sub transform {
}
my $new_exon = $self->SUPER::transform( @_ );
return undef unless $new_exon;
if (not defined $new_exon or
$new_exon->length != $self->length) {
return undef;
}
if( exists $self->{'_supporting_evidence'} ) {
my @new_features;
......
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