CatalogueOfLife / backend

Complete backend of COL ChecklistBank
Apache License 2.0
15 stars 11 forks source link

subgenus atomised wrongly #1335

Closed camiplata closed 5 months ago

camiplata commented 5 months ago

Subgenus are flagged as inconsistent names, can we unflag them allowing to have a non- monomial for the subgenus rank?

for example: https://www.checklistbank.org/dataset/298754/taxon/DF5YR

Captura de pantalla 2024-06-25 a la(s) 3 41 49 p m
mdoering commented 5 months ago

This subgenus at least is wrongly atomized:

"rank":"subgenus",
"scientificName":"Aglaostigma (Aglaostigma)",
"uninomial":"Aglaostigma (Aglaostigma)"

It should be like this:

"rank":"subgenus",
"scientificName":"Aglaostigma (Aglaostigma)",
"genus":"Aglaostigma"
"infragenericEpithet":"Aglaostigma"

See https://github.com/CatalogueOfLife/coldp/blob/master/docs/publishing-guide.md#infrageneric-names

So the flagging is correct. Let's find out how we got there

mdoering commented 5 months ago

It comes from here: https://www.checklistbank.org/dataset/290762/taxon/xP9L

which already has it wrong: https://api.checklistbank.org/dataset/290762/taxon/xP9L

And that is programmatically created as its a denormalised origin. An importer bug then.

mdoering commented 5 months ago

fixed in https://github.com/CatalogueOfLife/backend/commit/ce1778df1ba04f6a85c810daea0fc916121463bb