ImperialCollegeLondon / safedata_validator

Python tools to validate and publish datasets using the safedata metadata format.
https://safedata-validator.readthedocs.io/
MIT License
2 stars 4 forks source link

Proper handling of genus level synonyms for NCBITaxa #173

Open jacobcook1995 opened 1 month ago

jacobcook1995 commented 1 month ago

Currently for the NCBITaxa sheet if a species is supplied that is a known synonym (i.e. Schizopora flavipora for Hyphodontia flavipora) it passes with a warning. However, at the next check (genus level) it fails because the expected genus (Hyphodontia) doesn't match the supplied genus (Schizopora). This is clearly undesirable behaviour and should be fixed.

We also need to consider if this needs to be fixed for subspecies trinomials as well.