Permalink
Browse files

clean up last commit a little

  • Loading branch information...
1 parent 11a9d7a commit 12e058b15743d14fbd4e6ca658282df0e7631d71 Chris Fields committed Oct 2, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Bio/DB/SeqFeature/Store.pm
@@ -2591,7 +2591,8 @@ sub feature_names {
my $obj = shift;
my $primary_id = $obj->primary_id;
- my @names = $obj->display_name if defined $obj->display_name;
+ my @names;
+ push @names,$obj->display_name if defined $obj->display_name;
push @names,$obj->get_tag_values('Name') if $obj->has_tag('Name');
push @names,$obj->get_tag_values('ID') if $obj->has_tag('ID');

0 comments on commit 12e058b

Please sign in to comment.