BartocAligner

class BartocAligner(force_download: bool | None = None)[source]

Bases: Aligner

Aligner for BARTOC.

Instantiate the aligner.

Attributes Summary

alt_key_match

Set this if there's another part of the data besides the ID that should be matched

curation_header

Header to put on the curation table, corresponding to get_curation_row()

key

The key for the external registry

Methods Summary

getter()

Get the BARTOC registry.

Attributes Documentation

alt_key_match: ClassVar[str | None] = 'abbreviation'

Set this if there’s another part of the data besides the ID that should be matched

curation_header: ClassVar[Sequence[str]] = ['name', 'homepage', 'description']

Header to put on the curation table, corresponding to get_curation_row()

key: ClassVar[str] = 'bartoc'

The key for the external registry

Methods Documentation

getter() Mapping[str, Mapping[str, Any]]

Get the BARTOC registry.

Parameters:

force_download – If true, forces download. If false and the file is already cached, reuses it.

Returns:

The BARTOC registry