aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorzsloan2024-10-28 20:19:37 +0000
committerzsloan2024-10-28 20:19:37 +0000
commit96a04476b2506d0e02a497308818d26b4f9f79f4 (patch)
tree64d6a7d54015247b449faa4f1d4e72653b3a920a /gn2
parent095a3dcdc799163c0b8af3bac9c0819b5adeb879 (diff)
downloadgenenetwork2-96a04476b2506d0e02a497308818d26b4f9f79f4.tar.gz
Fix bug that caused scatterplot URLs to be wrong when accessing mapping via hash
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/templates/mapping_results.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/templates/mapping_results.html b/gn2/wqflask/templates/mapping_results.html
index 8c7fec24..8e9879aa 100644
--- a/gn2/wqflask/templates/mapping_results.html
+++ b/gn2/wqflask/templates/mapping_results.html
@@ -416,7 +416,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 }}&cached_trait=trait_2&dataid={{ dataid }}&effect=True">' + String(parseFloat(data.additive).toFixed(3)) + '</a>'
+ 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 }}&cached_trait=trait_2&dataid={{ dataid }}&effect=True">' + String(parseFloat(data.additive).toFixed(3)) + '</a>'
{% else %}
return String(parseFloat(data.additive).toFixed(3))
{% endif %}