Source code for bioregistry.align.ols
# -*- coding: utf-8 -*-
"""Align the OLS with the Bioregistry."""
from typing import Mapping
from bioregistry.align.utils import Aligner
from bioregistry.external.ols import OLS_SKIP, get_ols
__all__ = [
"OLSAligner",
]
[docs]class OLSAligner(Aligner):
"""Aligner for the OLS."""
key = "ols"
getter = get_ols
curation_header = ("name",)
include_new = True
if __name__ == "__main__":
OLSAligner.cli()