Commit 8b9a245a authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Buglet fix: In sub_SeqFeature(): explicitly return empty list.

parent 6745900a
......@@ -676,14 +676,14 @@ sub entire_seq{
=cut
sub sub_SeqFeature{
my ($self) = @_;
sub sub_SeqFeature {
my ($self) = @_;
if($self->{'_gsf_sub_array'}){
return @{$self->{'_gsf_sub_array'}};
}else{
return;
}
if ( $self->{'_gsf_sub_array'} ) {
return @{ $self->{'_gsf_sub_array'} };
} else {
return ();
}
}
=head2 add_sub_SeqFeature
......
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