diff --git a/HISTORY.rst b/HISTORY.rst index 8fb14df9f..d875e47b2 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -18,6 +18,7 @@ End-User Summary - Added index for ``SmallVariant`` model filtering for ``case_id`` and ``set_id``. This may take a while! - Allowing project owners and delegates to import cases via API (#207). +- Fix for broken link-out into MutationTaster (#240). Full Change List ================ @@ -35,6 +36,7 @@ Full Change List - Added index for ``SmallVariant`` model filtering for ``case_id`` and ``set_id``. This may take a while! - Allowing project owners and delegates to import cases via API (#207). +- Fix for broken link-out into MutationTaster (#240). ------- v0.23.9 diff --git a/varfish/static/js/filter_form.js b/varfish/static/js/filter_form.js index a92d864db..bf33e68fe 100644 --- a/varfish/static/js/filter_form.js +++ b/varfish/static/js/filter_form.js @@ -117,15 +117,6 @@ $(document).ready(function() { $(".checkboxinput").change(updateCheckboxes); }); -function mutationTaster(chromosome, position, ref, alt) { - var form = $('
'); - form.append($('')); - form.append($('')); - form.append($('')); - form.append($('')); - form.appendTo('body').submit(); -} - function polyPhen2(gene, hgvsP) { const regex = /^p.([A-Z])(\d+)([A-Z])$/; const found = hgvsP.match(regex); diff --git a/variants/templates/variants/filter_result/row.html b/variants/templates/variants/filter_result/row.html index fdeba9f96..c68e2de8d 100644 --- a/variants/templates/variants/filter_result/row.html +++ b/variants/templates/variants/filter_result/row.html @@ -442,13 +442,23 @@ {% endif %}
- - MT - + {% if entry.release == "GRCh37" %} + + MT + + {% else %} + + MT + + {% endif %} {% if ga4gh_beacon_network_widget_enabled or kiosk_mode %}