Skip to content

add issue flags to unparsable names #248

Closed as not planned
Closed as not planned

Description

@gdadade

The warning flags are very helpful both for debugging and curation. Would it be possible to add similar flags if result = “unparsable”? So if I want to inform the dataprovider what problem occurred with these names I could simply use these flags instead of the generic “didn’t work”.

Activity

  1. added
    enhancement
    on Nov 18, 2026
  2. mdoering commented on Nov 19, 2026

    @mdoering
    Member

    An unparsable result has no parsed name to carry warnings, only its name type and nomenclatural code, and those are the reason the parser gives. Rather than change the model, we documented what they tell:

    • FORMULA: a hybrid or graft-chimaera formula, two names joined by a cross
    • PLACEHOLDER: a placeholder with no real taxon to hang off, incertae sedis
    • IDENTIFIER: a machine identifier such as a BOLD BIN or a UNITE species hypothesis
    • OTHER: anything else. A virus carries the code VIRUS. Other frequent reasons are a code or label rather than a name (Lepidostoma1, ANME-1 cluster archaeon), alternatives in different genera or without a genus (Anser/Branta, obsoletus/scoticus), vectors and plasmids, numbers, abbreviations or free text.

    The docs are on NameType.OTHER and ParseResult.Unparsable in the api (gbif/name-parser@c4ab0bf) and on NameType::Other here (#254). Problems inside a name that still parses stay warnings on the parsed name, now per name part for digits and odd characters (#244).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions