aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-09-03 14:59:14 +0000
committerzsloan2021-09-03 14:59:14 +0000
commit8af212bc7eac5b39e8e6838df446a4003633a55e (patch)
tree76174098914f4ee96d268591d1d6c52ffcd53e08 /wqflask
parent5ebe36d5ff685e6b663b14c130606aa60b0123c2 (diff)
downloadgenenetwork2-8af212bc7eac5b39e8e6838df446a4003633a55e.tar.gz
Fix issue that caused javascript to not work on the R/qtl mapping result page when permutations weren't used (because it wrongly expected the permutation histogram to always exist)
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/mapping_results.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/mapping_results.html b/wqflask/wqflask/templates/mapping_results.html
index 81eb1ba1..d446745d 100644
--- a/wqflask/wqflask/templates/mapping_results.html
+++ b/wqflask/wqflask/templates/mapping_results.html
@@ -529,7 +529,7 @@
});
{% endif %}
- {% if mapping_method != "gemma" and mapping_method != "plink" %}
+ {% if mapping_method != "gemma" and mapping_method != "plink" and nperm > 0 and permChecked == "ON" %}
$('#download_perm').click(function(){
perm_info_dict = {
perm_data: js_data.perm_results,