Skip to content

Instantly share code, notes, and snippets.

@mdoering
Last active April 3, 2024 13:41
Show Gist options
  • Save mdoering/228a5bc22ca950d7d04ba342ac8f3da8 to your computer and use it in GitHub Desktop.
Save mdoering/228a5bc22ca950d7d04ba342ac8f3da8 to your computer and use it in GitHub Desktop.
XRelease demo config
# parts of this extended COL checklist configuration was copied from the backbone configs:
# https://github.com/gbif/gbif-configuration/blob/master/cli/nub/config/clb-nub.yaml
# dataset metadata with project variables to be applied to each release
alias: "MD-{attempt}"
title: Merge Demo
version: "{attempt}"
# taxon to use for incertae sedis names during merges
incertaeSedis:
name: incertae sedis
rank: unranked
status: PROVISIONALLY_ACCEPTED
classification:
-
name: Biota
rank: unranked
removeEmptyGenera: false
# activate the homotypic grouping?
groupBasionyms: true
issueExclusion:
- UNPARSABLE_NAME
- UNPARSABLE_AUTHORSHIP
- NULL_EPITHET
- INDETERMINED
- HIGHER_RANK_BINOMIAL
- MISSING_GENUS
- INCONSISTENT_NAME
blockedNames:
- Diptera larva
- Flowering plant
- Gen # https://github.com/gbif/checklistbank/issues/230
- Gen sp
- Gen spec
- Grey lichens
- Incertae # https://github.com/gbif/portal-feedback/issues/1845
- Lichens
- Lower plants (Lichens)
- Scientific # https://github.com/gbif/portal-feedback/issues/2726
- Scientific name
- Status unresolved
- Strawberry witches phytoplasma
- Unaccepted
- Unknown
# List of regular expression patterns for scientific names that are globally blocked from any source.
# Patterns are case insensitive and must not be anchored at the front. Any match will block the name.
# Because of how YAML treats backslashes in double-quoted strings, note that all backslashes in a regex expression must be escaped when using double quotes.
# For example, all of these are valid:
# expression: \w*
# expression: '\w*'
# expression: "\\w*"
# Best to avoid using double quotes!
blockedNamePatterns:
- '^\? [a-z]+'
# epithets keyed by family
basionymExclusions:
Squalidae:
- mahia
Nymphalidae:
- mylitta # https://github.com/gbif/portal-feedback/issues/4332
# Wrong homonyms above species rank that should be excluded from the backbone, regardless of which source they came from.
# List of canonical names with its direct parent to identifiy the version to be removed.
# All other names with the same canonical name, but different parent, are kept.
homonymExclusions:
# order
Diplomonadida:
- Eopharyngea
Piroplasmida:
- Miozoa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment