Skip to content

Commit

Permalink
Fixed taxid bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbuchfink committed Feb 14, 2024
1 parent c9003f9 commit a00d0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/output/taxon_format.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ void TaxonFormat::print_query_epilog(Output::Info &info) const
else
info.out << '0';
if (config.include_lineage)
info.out << '\t' << taxon_lineage(taxid, *info.db) << '\t';
info.out << '\t' << (taxid != 0 ? taxon_lineage(taxid, *info.db) : "N/A");
info.out << '\n';
}

0 comments on commit a00d0da

Please sign in to comment.