aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2023-09-25 17:45:18 +0000
committerzsloan2023-09-25 17:45:18 +0000
commitfccdf55409a5146de186e3d2424ebd23d751d326 (patch)
treea3025640aaf5321807488da38eee6d160be5f67f
parentd14d8a804640bad4944d9d7e4fed7817132e7c6f (diff)
downloadgenenetwork2-fccdf55409a5146de186e3d2424ebd23d751d326.tar.gz
Swap parameters for mapping scatterplot, since the genotype markers were being pulled from the dataid instead of the trait sample values
-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 d40bb8c9..81101fed 100644
--- a/wqflask/wqflask/templates/mapping_results.html
+++ b/wqflask/wqflask/templates/mapping_results.html
@@ -420,7 +420,7 @@
'data': null,
'render': function(data, type, row, meta) {
{% if geno_db_exists == "True" %}
- return '<a target"_blank" href="corr_scatter_plot?method=pearson&dataset_1={{ dataset.group.name }}Geno&dataset_2={{ dataset.name }}&trait_1=' + data.name + '&trait_2={{ this_trait.name }}&dataid={{ dataid }}">' + String(parseFloat(data.additive).toFixed(3)) + '</a>'
+ return '<a target"_blank" href="corr_scatter_plot?method=pearson&dataset_1={{ dataset.name }}&dataset_2={{ dataset.group.name }}Geno&trait_1={{ this_trait.name }}&trait_2=' + data.name + '&dataid={{ dataid }}">' + String(parseFloat(data.additive).toFixed(3)) + '</a>'
{% else %}
return String(parseFloat(data.additive).toFixed(3))
{% endif %}