From 9ed97640d0c5c8f8d46e5c97ee0b0dcd8ca0711d Mon Sep 17 00:00:00 2001 From: Daniel Nilsson Date: Fri, 22 Nov 2024 10:04:43 +0100 Subject: [PATCH] Fix #5058 - structural variantS header (#5059) --- CHANGELOG.md | 3 ++- .../templates/variants/cancer-sv-variants.html | 8 ++++---- .../variants/templates/variants/sv-variants.html | 10 +++------- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ac31577b4..70490b8989 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/scout/server/blueprints/variants/templates/variants/cancer-sv-variants.html b/scout/server/blueprints/variants/templates/variants/cancer-sv-variants.html index 4741c5b206..9df5775c13 100644 --- a/scout/server/blueprints/variants/templates/variants/cancer-sv-variants.html +++ b/scout/server/blueprints/variants/templates/variants/cancer-sv-variants.html @@ -58,8 +58,8 @@ Index - Type Callers + Type Chr Start End @@ -77,7 +77,7 @@ {{ variant_row(variant) }} {% else %} - No matching variants + No matching variants {% endfor %} @@ -105,10 +105,10 @@ {{ cell_rank(variant, institute, case, form, manual_rank_options) }} - {{ variant.sub_category|upper }} + {{ callers_cell(variant) }} - {{ callers_cell(variant) }} + {{ variant.sub_category|upper }} {{ variant.chromosome if variant.chromosome == variant.end_chrom else variant.chromosome+'-'+variant.end_chrom }} {{ variant.position|human_longint|safe }} diff --git a/scout/server/blueprints/variants/templates/variants/sv-variants.html b/scout/server/blueprints/variants/templates/variants/sv-variants.html index 63a91ab5b7..8fb96255c6 100644 --- a/scout/server/blueprints/variants/templates/variants/sv-variants.html +++ b/scout/server/blueprints/variants/templates/variants/sv-variants.html @@ -59,8 +59,8 @@ Rank Score - Type Callers + Type Chr Start End @@ -76,7 +76,7 @@ {{ variant_row(variant, inherit_palette) }} {% else %} - No matching variants + No matching variants {% endfor %} @@ -103,14 +103,10 @@ {{ cell_rank(variant, institute, case, form, manual_rank_options) }} {{ variant.rank_score|int }} - - {{ variant.sub_category|upper }} - {{ callers_cell(variant) }} - - {{ variant.sub_category|upper }} + {{ variant.sub_category|upper }} {{ variant.chromosome if variant.chromosome == variant.end_chrom else variant.chromosome+'-'+variant.end_chrom }} {{ variant.position|human_longint|safe }} {{ 'inf' if variant.end == 100000000000 else variant.end|human_longint|safe }}