From 9db80a6f01da97b90dd8de7162af557ce062d3e4 Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 13 Apr 2020 18:09:18 -0500 Subject: Changed Locus to Marker in table and fixed an issue with trying to zoom in on a chromosome after downloading permutation results --- wqflask/wqflask/templates/mapping_results.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/templates/mapping_results.html b/wqflask/wqflask/templates/mapping_results.html index c046f7fb..ba0ebef9 100644 --- a/wqflask/wqflask/templates/mapping_results.html +++ b/wqflask/wqflask/templates/mapping_results.html @@ -207,7 +207,7 @@


- Total of {{ nperm }} permutations  Download Permutation Results + Total of {{ nperm }} permutations  Download Permutation Results
{% endif %} @@ -229,7 +229,7 @@ Row - Locus + Marker {{ LRS_LOD }} Chr {% if plotScale != "physic" %} @@ -426,6 +426,7 @@ $('input[name=selected_chr]').val(this_chr) $('input[name=chr_mb_list]').val(chr_mb_list) + $('#marker_regression_form').attr('action', '/run_mapping'); return $('#marker_regression_form').submit(); }; @@ -435,24 +436,26 @@ $('input[name=endMb]').val(end_mb) //$('input[name=mb_range]').val(start_mb + "," + end_mb) + $('#marker_regression_form').attr('action', '/run_mapping'); return $('#marker_regression_form').submit(); }; remap = function() { $('input[name=selected_chr]').val($('select[name=chromosomes]').val()); + $('#marker_regression_form').attr('action', '/run_mapping'); return $('#marker_regression_form').submit(); }; {% if mapping_method != "gemma" and mapping_method != "plink" %} - export_perm_data = function() { - var num_perm, perm_data; + $('#download_perm').click(function(){ + var num_perm, perm_data; num_perm = js_data.num_perm perm_data = js_data.perm_results json_perm_data = JSON.stringify(perm_data); $('input[name=perm_results]').val(json_perm_data); $('#marker_regression_form').attr('action', '/export_perm_data'); return $('#marker_regression_form').submit(); - } + }); modebar_options = { modeBarButtonsToAdd:[{ -- cgit v1.2.3