gnames / gnverifier

GNverifier verifies scientific names against more than 100 biodiversity databases
https://verifier.globalnames.org
MIT License
20 stars 1 forks source link

genus return match to species #125

Open BenMerSci opened 1 day ago

BenMerSci commented 1 day ago

When querying through gnverifier for the genus Oecetis and authorship McLachlan, 1877: https://verifier.globalnames.org/api/v1/verifications/Oecetis+McLachlan%2C+1877?capitalize=true&all_matches=true&data_sources=1|3|147

I believe it gets parsed ok by gnparser and the result is the same with or without the authorship.

I get two results that are more 'precise' (to the species level with Oecetis complex) than what was queried for (to the genus level Oecetis). Is this normal behaviour or a bug? I tried a couple of query for different genus and none return a match to a species level.

dimus commented 1 day ago

Oacetis complex is returned in your query, because complex is a "popular" annotaion word, that parser usually ignores. I have a list of exceptions to the rule, looks like I need to add Oacetis complex there

dimus commented 1 day ago

hm, it is weird, I do have Oecetis complex in exceptions already, I need to investigate. thanks for reporting this @BenMerSci

https://parser.globalnames.org/?code=&format=html&names=Oecetis+complex&with_details=on

BenMerSci commented 1 day ago

I was just about to reply that I was glad this issue wasn't too much of a hassle because I feel like I'm throwing so many issues at you these days...oops Let me know if I can do anything or be of any help!

dimus commented 1 day ago

I think I understood what happened. Until last database update I did run global reparsing of all names, however this time, with new system, only new names were parsed, and Oacetis complex is a recently added exception.. So I will need to reparse all name-strings periodically.

You found a real bug, thanks!

BenMerSci commented 12 hours ago

I'm not sure if this is a parser issue, a CatalogueOfLife issue, or if this is similar to this current issue:

When searching for the genus Gymnodinium, CatalogueOfLife returns a match to the species level: https://verifier.globalnames.org/api/v1/verifications/Gymnodinium?capitalize=true&all_matches=true&data_sources=1

which links to this entry: https://www.catalogueoflife.org/data/taxon/3HRW2 for the species Gymnodinium p.dorhni and authorship Wawrik, 1956.

Thoughts?