From a2b2aa0458be09e3938e554c5b1b19ce63323afc Mon Sep 17 00:00:00 2001 From: Florent Angly Date: Tue, 25 Jun 2013 16:58:09 +1000 Subject: [PATCH] Small POD and and error message change --- Bio/DB/Taxonomy.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bio/DB/Taxonomy.pm b/Bio/DB/Taxonomy.pm index 9208ba0710..22a4e847a5 100644 --- a/Bio/DB/Taxonomy.pm +++ b/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);