<commit_before><div class='row'>
    <div class='col-md-6'>
        Displaying <strong>{{pathways.length}}</strong> pathways out of <strong>{{pathwaysFound}}</strong>.
    </div>
    <div class='col-md-6'>
        <span style='color:red'><strong>{{identifiersNotFound}}</strong></span> identifiers not found.<br> 
    </div>
</div>

<div class='panel-group' id='accordion' role='tablist' aria-multiselectable='true'>

    {{#each pathways}}
    <div class='panel panel-default'>
        <div class='panel-heading' role='tab' id='heading{{@key}}'>
            <h4 class='panel-title text-capitalize'>
                <a class='collapsed' data-toggle='collapse' data-parent='#accordion' href='#collapse{{stId}}' aria-expanded='false' aria-controls='collapse{{stId}}'>
                    {{name}} <span class='badge pull-right'> {{this.entities.found}} / {{this.entities.total}} </span>
                </a>
            </h4>
        </div>
        <div id='collapse{{stId}}' class='panel-collapse collapse' role='tabpanel' aria-labelledby='heading{{stId}}'>
            <div class='panel-body'>
                
                <div class="row">
                    <div class="col-md-6">
                        <h5>Entities</h5>
                        <p>
                            <strong>Fdr:</strong> {{entities.fdr}}<br>
                            <strong>pValue:</strong> {{entities.pValue}}<br>
                            <strong>Ratio:</strong> {{entities.ratio}}<br>
                            Found <strong>{{entities.found}}</strong> out of <strong>{{entities.total}}</strong><br>
                        </p>
                    </div>
                    <div class="col-md-6">
                        <h5>Reactions</h5>
                        <p>
                            <strong>Ratio:</strong> {{reactions.ratio}}<br>
                            Found <strong>{{reactions.found}}</strong> out of <strong>{{reactions.total}}</strong><br>
                        </p>
                    </div>
                </div>
                
                <p>
                    <a href='http://www.reactome.org/content/detail/{{stId}}' target='_blank'>
                        <button type='button' class='btn btn-info' aria-label='Left Align'>
                          <span class='glyphicon glyphicon glyphicon-share-alt' aria-hidden='true'></span> See in Reactome
                        </button>
                    </a>
                </p>
            </div>
        </div>
    </div>
    {{/each}}
    
</div><commit_msg>render pathway info in table<commit_after><div class='row'>
    <div class='col-md-6'>
        Displaying <strong>{{pathways.length}}</strong> pathways out of <strong>{{pathwaysFound}}</strong>.
    </div>
    <div class='col-md-6'>
        <span style='color:red'><strong>{{identifiersNotFound}}</strong></span> identifiers not found.<br> 
    </div>
</div>

<table class="table table-hover">
    <thead>
        <tr>
            <th>Found</th>
            <th>Pathway</th>
            <th>P-value</th>
            <th></th>
        </tr>
    </thead>
    <tbody>
        {{#each pathways}}
            <tr>
                <td><span class='badge pull-right'> {{this.entities.found}} / {{this.entities.total}} </span></td>
                <td>{{name}}</td>
                <td>{{toFixed entities.pValue 5}}</td>
                <td><a class="btn btn-info" href="http://www.reactome.org/content/detail/{{stId}}" target='_blank' role="button"><span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></td>
            </tr>
        {{/each}}
    </tbody>
</table>
{'fraction_non_alphanumeric': 0.18397135775268522, 'fraction_numerical': 0.0035802809143486644, 'mean_word_length': 1.7308270676691728, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '316078', 'n_tokens_mistral': 1094, 'n_tokens_neox': 1030, 'n_words': 182}