From 5c71ead0411b834b51bf084c147543208390c310 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Tue, 17 Sep 2024 15:13:57 +0300 Subject: Refactor: remove hardcoded links and fix bug for path. --- gn2/wqflask/static/new/javascript/show_trait.js | 2 +- gn2/wqflask/templates/mapping_results.html | 10 +++++----- gn2/wqflask/templates/show_trait_calculate_correlations.html | 2 +- gn2/wqflask/templates/show_trait_statistics.html | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gn2/wqflask/static/new/javascript/show_trait.js b/gn2/wqflask/static/new/javascript/show_trait.js index edb2cfab..6d77e130 100644 --- a/gn2/wqflask/static/new/javascript/show_trait.js +++ b/gn2/wqflask/static/new/javascript/show_trait.js @@ -68,7 +68,7 @@ statTableRows.push( }, { vn: "interquartile", pretty: "Interquartile Range", - url: "http://www.genenetwork.org/glossary.html#Interquartile", + url: "{{ url_for('gn_docs_blueprint.glossary') }}#Interquartile", digits: 3 }, { vn: "skewness", diff --git a/gn2/wqflask/templates/mapping_results.html b/gn2/wqflask/templates/mapping_results.html index 2fed79c1..2b1660fd 100644 --- a/gn2/wqflask/templates/mapping_results.html +++ b/gn2/wqflask/templates/mapping_results.html @@ -116,7 +116,7 @@ - + ? @@ -158,27 +158,27 @@
{% if (mapping_method == "reaper" or mapping_method == "rqtl_geno") and nperm > 0 %} Permutation Test - + ?
{% endif %} {% if mapping_method == "reaper" and nboot > 0 %} Bootstrap Test - + ?
{% endif %} {% if mapping_method == "reaper" %} Allele Effects - + ?
{% endif %} SNP Track - + ? * diff --git a/gn2/wqflask/templates/show_trait_calculate_correlations.html b/gn2/wqflask/templates/show_trait_calculate_correlations.html index d2e6624e..2f78a095 100644 --- a/gn2/wqflask/templates/show_trait_calculate_correlations.html +++ b/gn2/wqflask/templates/show_trait_calculate_correlations.html @@ -148,7 +148,7 @@ Semantic Gene Organizer
and human, rat, and mouse data from PubMed. Values are ranked by Lit r, but Sample r and Tissue r are also displayed.
- More on using Lit r + More on using Lit r
Tissue Correlation
The Tissue Correlation (Tissue r) diff --git a/gn2/wqflask/templates/show_trait_statistics.html b/gn2/wqflask/templates/show_trait_statistics.html index 9ee0de5c..d16835e7 100644 --- a/gn2/wqflask/templates/show_trait_statistics.html +++ b/gn2/wqflask/templates/show_trait_statistics.html @@ -87,7 +87,7 @@
More about Normal Probability Plots and more - about interpreting these plots from the glossary + about interpreting these plots from the glossary
-- cgit v1.2.3