# -*- coding: utf-8 -*-
"""Provide an ELN connector."""
from .cheminfo import CheminfoElnConnector


def get_eln_connector(eln_type: str = "cheminfo"):
    """Provide ELN connector of a selected type."""
    if eln_type == "cheminfo":
        return CheminfoElnConnector
    raise NotImplementedError(
        f"""Unexpected error. The ELN connector of type '{eln_type}'
        is not implemented. Please report this to the
        <a href="https://github.com/aiidalab/aiidalab-eln/issues/new" target="_blank">
        issue tracker </a>."""
    )


__version__ = "0.1.1"

# -*- coding: utf-8 -*-
"""Provide an ELN connector."""
from .cheminfo import CheminfoElnConnector


def get_eln_connector(eln_type: str = "cheminfo"):
    """Provide ELN connector of a selected type."""
    if eln_type == "cheminfo":
        return CheminfoElnConnector
    raise NotImplementedError(
        f"""Unexpected error. The ELN connector of type '{eln_type}'
        is not implemented. Please report this to the
        <a href="https://github.com/aiidalab/aiidalab-eln/issues/new" target="_blank">
        issue tracker </a>."""
    )


__version__ = "0.1.1"

# -*- coding: utf-8 -*- Provide an ELN connector. Provide ELN connector of a selected type. Unexpected error. The ELN connector of type '{eln_type}'         is not implemented. Please report this to the         <a href="https://github.com/aiidalab/aiidalab-eln/issues/new" target="_blank">         issue tracker </a>.