Skip to content

Commit

Permalink
much better admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
proost committed Feb 15, 2017
1 parent d587fae commit 8bab94c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions planet/templates/expression_cluster.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ <h1>Cluster: {{ cluster.name }}<br /><small>{{ cluster.method.method }}</small><
<thead>
<tr>
<th data-sort="string-ins">ID</th>
<th data-sort="string-ins">label</th>
<th data-sort="string-ins">Label</th>
<th data-sort="float">% in cluster</th>
<th data-sort="float">enrichment <span class="text-muted">log2-transformed</span></th>
<th data-sort="float">Enrichment <span class="text-muted">log2-transformed</span></th>
<th data-sort="float">p-value</th>
<th data-sort="float">corrected p-value</th>
<th data-sort="float">Corrected p-value</th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -88,20 +88,20 @@ <h1>Cluster: {{ cluster.name }}<br /><small>{{ cluster.method.method }}</small><
<tr>
<th data-sort="string-ins">Cluster</th>
<th data-sort="string-ins">Target</th>
<th data-sort="float">jaccard index</th>
<th data-sort="float">Jaccard index</th>
<th data-sort="string-ins">Gene Family Method</th>
<th>actions</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
{% for sc in similar_clusters %}
<tr>
{% if sc.target.name == cluster.name %}
<td>{{ sc.source.method.method }}</td>
<td>{{ sc.source.name }}</td>
<td><a href="{{ url_for('expression_cluster.expression_cluster_view', cluster_id=sc.source_id) }}">{{ sc.source.name }}</a></td>
{% else %}
<td>{{ sc.target.method.method }}</td>
<td>{{ sc.target.name }}</td>
<td><a href="{{ url_for('expression_cluster.expression_cluster_view', cluster_id=sc.source_id) }}">{{ sc.target.name }}</a></td>
{% endif %}
<td>{{ sc.jaccard_index|round(3) }}</td>
<td>{{ sc.gene_family_method.method }}</td>
Expand Down

0 comments on commit 8bab94c

Please sign in to comment.