<commit_before>{% macro compounds_table(institute, case, compounds) %}
  <table class='table table-bordered table-hover table-condensed'>
    <thead>
      <tr>
        <th>Variant</th>
        <th>Combined score</th>
        <th>Rank score</th>
        <th>Gene annotation</th>
        <th>Func. annotation</th>
      </tr>
    </thead>
    <tbody>
      {% for compound in compounds %}
        <tr>
          <td>
            {% if compound.not_loaded %}
              {{ compound.display_name }} <small>(not loaded)</small>
            {% else %}
              <a href='{{ url_for("variants.variant",
                                 institute_id=institute._id,
                                 case_name=case.display_name,
                                 variant_id=compound.variant) }}'>
                {{ compound.display_name }}<commit_msg>improve display of compounds in popup<commit_after>{% macro compounds_table(institute, case, compounds) %}
  <table class='table table-bordered table-hover table-condensed'>
    <thead>
      <tr>
        <th>Variant</th>
        <th>Combined score</th>
        <th>Rank score</th>
        <th>Gene annotation</th>
        <th>Func. annotation</th>
      </tr>
    </thead>
    <tbody>
      {% for compound in compounds %}
        <tr>
          <td>
            {% if compound.not_loaded %}
              {{ compound.display_name }} <small>(not loaded)</small>
            {% else %}
              <a href='{{ url_for("variants.variant",
                                 institute_id=institute._id,
                                 case_name=case.display_name,
                                 variant_id=compound.variant) }}'>
                {{ compound.display_name|truncate(20, True) }}
{'fraction_non_alphanumeric': 0.13325674899483056, 'fraction_numerical': 0.0011487650775416428, 'mean_word_length': 1.6116941529235382, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '373431', 'n_tokens_mistral': 518, 'n_tokens_neox': 477, 'n_words': 92}