Skip to content

Commit

Permalink
add support for unplace to ranks
Browse files Browse the repository at this point in the history
  • Loading branch information
gsterjov committed Oct 25, 2024
1 parent 0d9b0b8 commit 679d1f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ pub fn str_to_taxonomic_rank(value: &str) -> Result<TaxonomicRank, ParseError> {
"infraspecific name" => Ok(Infraspecies),
"other" => Ok(Unranked),

"unplaced to" => Ok(Unranked),
"" => Ok(Unranked),

val => Err(ParseError::InvalidValue(val.to_string())),
Expand Down

0 comments on commit 679d1f9

Please sign in to comment.