Skip to content

Commit

Permalink
fixed ranks
Browse files Browse the repository at this point in the history
  • Loading branch information
shenwei356 committed Mar 6, 2024
1 parent 94e8530 commit 325af62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion taxonkit/cmd/create-taxdump.go
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,9 @@ Attention:
names0[taxid] = t.Names[i]
}

ranks[taxid] = uint8(i)
if _, ok = ranks[taxid]; !ok {
ranks[taxid] = uint8(i)
}

if reAssignTaxid {
if config.Verbose {
Expand Down

0 comments on commit 325af62

Please sign in to comment.