{% extends "base.html" %} {% import "bootstrap/form.html" as wtf %} {% import "bootstrap/utils.html" as util %} {% block title %}Biomappings ({{ "{:,d}".format(remaining_rows) }}){% endblock %} {% macro progress_color(confidence) -%} {% if confidence > 85 %} bg-success {% elif confidence > 60 %} bg-warning {% else %} bg-danger {% endif %} {%- endmacro %} {% set remaining_rows = controller.count_predictions(query=query, source_query=source_query, target_query=target_query, prefix=prefix, same_text=same_text) %} {% block content %}
{{ query }}
({{ "{:,d}".format(remaining_rows) }} Results)
{% else %}
{% endif %}
Line | {% endif %}Source | Source Name | {% if show_relations %}Relation | {% endif %}Target | Target Name | Confidence | |||
---|---|---|---|---|---|---|---|---|---|
{{ 1 + line }} | {% endif %}{{ controller.get_curie(p['source prefix'], p['source identifier']) }} | {{ p['source name'] }} | {% if show_relations %}{{ p['relation'] }} | {% endif %}{{ controller.get_curie(p['target prefix'], p['target identifier']) }} | {{ p['target name'] }} |
{% set confidence = ((p['confidence'] | float) * 100) | int %}
|