BartocAligner

class BartocAligner(force_download=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[Optional[str]] = '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()

Get the BARTOC registry.

Parameters:

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

Return type:

Mapping[str, Mapping[str, Any]]

Returns:

The BARTOC registry