Skip to content

Commit

Permalink
Fix kingdom bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Standage committed Jan 2, 2025
1 parent 112b29b commit 1b4bff2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pytaxonkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,10 @@ def test_lineage_single_taxid():

def test_lineage_threads():
result = lineage(["200643"], threads=1)
assert result.FullLineageRanks.iloc[0] == "no rank;superkingdom;clade;clade;phylum;class"
expected = "cellular organisms;Bacteria;FCB group;Bacteroidota/Chlorobiota group;Bacteroidota;Bacteroidia"
assert (
result.FullLineageRanks.iloc[0] == "no rank;superkingdom;kingdom;clade;clade;phylum;class"
)
expected = "cellular organisms;Bacteria;Pseudomonadati;FCB group;Bacteroidota/Chlorobiota group;Bacteroidota;Bacteroidia"
assert result.FullLineage.iloc[0] == expected


Expand Down

0 comments on commit 1b4bff2

Please sign in to comment.