{% macro render_provider_table(prefix, identifier, providers) -%} {% if providers %} {% for provider in providers %} {% endfor %}
Name Metaprefix URI
{% if provider.homepage %} {{ provider.name }} {% else %} {{ provider.name }} {% endif %} {{ provider.metaprefix }} {{ provider.uri }}
{% endif %} {% endmacro %} {% macro render_author(author, link=none) -%} {% if link or author.email %} {% if author.name %} {{ author.name }} {% else %} {{ author.email }} {% endif %} {% else %} {% if author.name %} {{ author.name }} {% endif %} {% endif %} {% if author.orcid %}   {{ author.orcid }} {% endif %} {% if author.github %}   {{ author.github }} {% endif %} {% endmacro %} {% macro render_author_modal(prefix, author, key) %} {% endmacro %} {% macro code_example(prefix, func, text, quote=True) -%}
>>> import bioregistry as br
>>> br.{{ func }}("{{ prefix }}")
{% if quote %}'{{ text }}'{% else %}{{ text }}{% endif %}
{% endmacro %}