Skip to content

Commit

Permalink
fix for no hits
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Ondov committed Jan 21, 2016
1 parent 7e8881f commit 9d6666e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KronaTools/lib/KronaTools.pm
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ sub addByTaxID

$magnitude = default($magnitude, 1);

if ( ! defined $taxDepths[$taxID] )
if ( $taxID != 0 && ! defined $taxDepths[$taxID] )
{
$missingTaxIDs{$taxID} = 1;
$taxID = 1; # unknown tax ID; set to root
Expand Down

0 comments on commit 9d6666e

Please sign in to comment.