Skip to content

Commit

Permalink
Fix #5058 - structural variantS header (#5059)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnil authored Nov 22, 2024
1 parent dc7a5bc commit 9ed9764
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
About changelog [here](https://keepachangelog.com/en/1.0.0/)

## [unreleased]
### Changed
### Fixed
- Update IGV.js to v3.1.0
- Columns/headings on SV variantS shifted

## [4.91]
### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
<tr>
<th style="width:2%"></th>
<th style="width:3%">Index</th>
<th>Type</th>
<th style="width:9%">Callers</th>
<th>Type</th>
<th style="width:5%">Chr</th>
<th>Start</th>
<th>End</th>
Expand All @@ -77,7 +77,7 @@
{{ variant_row(variant) }}
{% else %}
<tr>
<td colspan="13">No matching variants</td>
<td colspan="14">No matching variants</td>
</tr>
{% endfor %}
</tbody>
Expand Down Expand Up @@ -105,10 +105,10 @@
{{ cell_rank(variant, institute, case, form, manual_rank_options) }}
</td>
<td>
{{ variant.sub_category|upper }}
{{ callers_cell(variant) }}
</td>
<td>
{{ callers_cell(variant) }}
{{ variant.sub_category|upper }}
</td>
<td>{{ variant.chromosome if variant.chromosome == variant.end_chrom else variant.chromosome+'-'+variant.end_chrom }}</td>
<td class="col-2"><span style="white-space: nowrap;">{{ variant.position|human_longint|safe }}</span></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
<th style="width:3%"></th>
<th>Rank</th>
<th>Score</th>
<th>Type</th>
<th>Callers</th>
<th>Type</th>
<th>Chr</th>
<th>Start</th>
<th>End</th>
Expand All @@ -76,7 +76,7 @@
{{ variant_row(variant, inherit_palette) }}
{% else %}
<tr>
<td colspan="11">No matching variants</td>
<td colspan="13">No matching variants</td>
</tr>
{% endfor %}
</tbody>
Expand All @@ -103,14 +103,10 @@
{{ cell_rank(variant, institute, case, form, manual_rank_options) }}
</td>
<td class="text-end">{{ variant.rank_score|int }}</td>
<td>
{{ variant.sub_category|upper }}
</td>
<td>
{{ callers_cell(variant) }}
</td>
<td><span data-bs-toggle="tooltip" data-bs-html="true" title="{% for name, caller in variant.callers %}{{ name }}: {{ caller }}<br>{% endfor %}">
{{ variant.sub_category|upper }}</span></td>
<td>{{ variant.sub_category|upper }}</td>
<td>{{ variant.chromosome if variant.chromosome == variant.end_chrom else variant.chromosome+'-'+variant.end_chrom }}</td>
<td><span style="white-space: nowrap;">{{ variant.position|human_longint|safe }}</span></td>
<td><span style="white-space: nowrap;">{{ 'inf' if variant.end == 100000000000 else variant.end|human_longint|safe }}</span></td>
Expand Down

0 comments on commit 9ed9764

Please sign in to comment.