diff --git a/HISTORY.rst b/HISTORY.rst index 74cf3ab8e..fc28ae01d 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -32,6 +32,7 @@ End-User Summary For this, GRCh38 background data must be imported. Kiosk mode does not support GRCh38 yet. **This is a breaking change, new data and CLI must be used!** +- Added feature to select multiple rows in results to create same annotation (#259) Full Change List ================ @@ -65,6 +66,7 @@ Full Change List - Setting ``VARFISH_CADD_SUBMISSION_RELEASE`` is called ``VARFISH_CADD_SUBMISSION_VERSION`` now (**breaking change**). - ``import_info.tsv`` expected as in data release from ``20210728`` as built from varfish-db-downloader ``1b03e97`` or later. - Extending columns of ``Hgnc`` to upstream update. +- Added feature to select multiple rows in results to create same annotation (#259) ------- v0.23.9 diff --git a/svs/models.py b/svs/models.py index b029a99a2..e088c59e3 100644 --- a/svs/models.py +++ b/svs/models.py @@ -430,6 +430,9 @@ def no_flags_set(self): self.flag_candidate, self.flag_final_causative, self.flag_for_validation, + self.flag_no_disease_association, + self.flag_segregates, + self.flag_doesnt_segregate, self.flag_molecular != "empty", self.flag_visual != "empty", self.flag_validation != "empty", diff --git a/svs/templates/svs/filter_result/header.html b/svs/templates/svs/filter_result/header.html index 4d5ecfb59..c815c4166 100644 --- a/svs/templates/svs/filter_result/header.html +++ b/svs/templates/svs/filter_result/header.html @@ -2,8 +2,9 @@ {# Variant filter table header #}
Query completed in {{ elapsed_seconds }} sec.
+ + {# Multi-var bookmark and comment modal #} + {% endif %} diff --git a/svs/templates/svs/scripts.html b/svs/templates/svs/scripts.html index 785368986..9e8c060eb 100644 --- a/svs/templates/svs/scripts.html +++ b/svs/templates/svs/scripts.html @@ -30,9 +30,11 @@ let structural_or_small = "structural"; let variant_flags_url = "{% url 'svs:sv-flags-api' project=project.sodar_uuid case="--abcef--" sv="--bbccee--" %}"; let variant_comment_url = "{% url 'svs:sv-comment-api' project=project.sodar_uuid case="--abcef--" sv="--bbccee--" %}"; + let multi_variant_flags_comment_url = "{% url 'svs:multi-sv-flags-comment-api' project=project.sodar_uuid %}"; {% include "variants/_variant_flag_form_tpl.html" %} +{% include "variants/_multi_variant_flag_form_tpl.html" %} diff --git a/svs/urls.py b/svs/urls.py index f647e16c1..85e87f3ae 100644 --- a/svs/urls.py +++ b/svs/urls.py @@ -28,6 +28,11 @@ view=views.StructuralVariantCommentApiView.as_view(), name="sv-comment-api", ), + url( + regex=r"^(?PQuery completed in {{ elapsed_seconds }} sec.
+ + {# Multi-var bookmark and comment modal #} + +