<commit_before>{% import '_helpers.html' as helpers %}
{% extends "base.html" %}
{% block content %}
    <h1 class="page-header">{{run.name}}</h1>
    <dl class="dl-horizontal">
        <dt>Name</dt><dd>{{run.name}}</dd>
        <dt>Upload date</dt><dd>{{run.upload_date}}</dd>
        <dt>VCF</dt><dd>{{run.vcf_file}}</dd>
        <dt>Filters</dt><dd>{{run.gatk.filters}}</dd>
    </dl>
    {{ helpers.render_pagination(pagination) }}
    <table class="table table-condensed">
        <thead>
            <tr>
                <th>Chr</th>
                <th>Pos</th>
                <th>Ref</th>
                <th>Alt</th>
                {% for sample in run.samples %}
                <th>{{sample}}</th>
                {% endfor %}
            </tr>
        </thead>
        <tbody>
            {% for variant in run_variants %}
            {{variant}}
            <tr>
                <td>{{ variant.chr }}</td>
                <td>{{ variant.pos }}</td>
                <td>{{ variant.ref }}</td>
                <td>{{ variant.alt }}</td>
                {% for sample in run.samples %}
                    <td>
                    {% set sample_variant = variant.samples|selectattr("id","equalto",sample)|list %}
                    {% set sample_variant = sample_variant[0] %}
                    {% if sample_variant %}
                        {{sample_variant.GT}}
                        {{sample_variant.filter}}
                    {% endif %}
                    </td>
                {% endfor %}
            </tr>
            {% endfor %}
        </tbody>
    </table>
    {{ helpers.render_pagination(pagination) }}
{% endblock %}
<commit_msg>Remove debug code<commit_after>{% import '_helpers.html' as helpers %}
{% extends "base.html" %}
{% block content %}
    <h1 class="page-header">{{run.name}}</h1>
    <dl class="dl-horizontal">
        <dt>Name</dt><dd>{{run.name}}</dd>
        <dt>Upload date</dt><dd>{{run.upload_date}}</dd>
        <dt>VCF</dt><dd>{{run.vcf_file}}</dd>
        <dt>Filters</dt><dd>{{run.gatk.filters}}</dd>
    </dl>
    {{ helpers.render_pagination(pagination) }}
    <table class="table table-condensed">
        <thead>
            <tr>
                <th>Chr</th>
                <th>Pos</th>
                <th>Ref</th>
                <th>Alt</th>
                {% for sample in run.samples %}
                <th>{{sample}}</th>
                {% endfor %}
            </tr>
        </thead>
        <tbody>
            {% for variant in run_variants %}
            <tr>
                <td>{{ variant.chr }}</td>
                <td>{{ variant.pos }}</td>
                <td>{{ variant.ref }}</td>
                <td>{{ variant.alt }}</td>
                {% for sample in run.samples %}
                    <td>
                    {% set sample_variant = variant.samples|selectattr("id","equalto",sample)|list %}
                    {% set sample_variant = sample_variant[0] %}
                    {% if sample_variant %}
                        {{sample_variant.GT}}
                        {{sample_variant.filter}}
                    {% endif %}
                    </td>
                {% endfor %}
            </tr>
            {% endfor %}
        </tbody>
    </table>
    {{ helpers.render_pagination(pagination) }}
{% endblock %}

{'fraction_non_alphanumeric': 0.1782477341389728, 'fraction_numerical': 0.0018126888217522659, 'mean_word_length': 1.3415841584158417, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3595053', 'n_tokens_mistral': 1064, 'n_tokens_neox': 935, 'n_words': 161}