Skip to content
Browse files

Small POD and and error message change

  • Loading branch information...
1 parent 3317ea1 commit a2b2aa0458be09e3938e554c5b1b19ce63323afc @fangly fangly committed Jun 25, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Bio/DB/Taxonomy.pm
View
4 Bio/DB/Taxonomy.pm
@@ -192,7 +192,7 @@ sub get_taxonids {
(stored under node_name()) is different. The nodes are also given an
arbitrary branch length of 1.
Returns : Bio::Tree::Tree
- Args : a list of species names (strings)
+ Args : A list of species names (strings) to include in the tree.
=cut
@@ -204,7 +204,7 @@ sub get_tree {
for my $name (@species_names) {
my @ids = $self->get_taxonids($name);
if (not scalar @ids) {
- $self->throw("No taxonomy database node for species ".$name);
+ $self->throw("Could not find species $name in the taxonomy");
}
for my $id (@ids) {
my $node = $self->get_taxon(-taxonid => $id);

0 comments on commit a2b2aa0

Please sign in to comment.
Something went wrong with that request. Please try again.