FairsharingAligner

class FairsharingAligner[source]

Bases: Aligner

Aligner for the FAIRsharing.

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

skip_deprecated

Set to true if you don't want to align to deprecated resources

Methods Summary

get_curation_row(external_id, external_entry)

Prepare curation rows for unaligned BioPortal registry entries.

getter([use_tqdm])

Get the FAIRsharing 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]] = ('abbreviation', 'name', 'description')

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

key: ClassVar[str] = 'fairsharing'

The key for the external registry

skip_deprecated: ClassVar[bool] = True

Set to true if you don’t want to align to deprecated resources

Methods Documentation

get_curation_row(external_id, external_entry)[source]

Prepare curation rows for unaligned BioPortal registry entries.

Return type

Sequence[str]

getter(use_tqdm=False)

Get the FAIRsharing registry.