From c0188f02830dace2fc82392788f987e3c46ee12a Mon Sep 17 00:00:00 2001
From: zsloan
Date: Thu, 7 Sep 2017 16:51:10 +0000
Subject: Updated show trait page to correctly show GEMMA options for certain
data sets
---
wqflask/wqflask/templates/show_trait_mapping_tools.html | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/wqflask/wqflask/templates/show_trait_mapping_tools.html b/wqflask/wqflask/templates/show_trait_mapping_tools.html
index 1151c74b..c24a5853 100644
--- a/wqflask/wqflask/templates/show_trait_mapping_tools.html
+++ b/wqflask/wqflask/templates/show_trait_mapping_tools.html
@@ -4,7 +4,6 @@
- {# if use_pylmm_rqtl and not use_plink_gemma and dataset.group.species != "human" #}
{% if dataset.group.mapping_id == "1" %}
-
Interval Mapping
@@ -19,11 +18,10 @@
GEMMA
{% endif %}
- {# if use_plink_gemma #}
{% for mapping_method in dataset.group.mapping_names %}
{% if mapping_method == "GEMMA" %}
-
- GEMMA
+ GEMMA
{% elif mapping_method == "PLINK" %}
-
@@ -326,9 +324,9 @@
{% endif %}
- {# if use_plink_gemma #}
- {% if dataset.group.mapping_id == "2" or dataset.group.mapping_id == "4" %}
-
+ {% for mapping_method in dataset.group.mapping_names %}
+ {% if mapping_method == "GEMMA" %}
+
- {% if dataset.group.mapping_id == "4" %}
+ {% elif mapping_method == "PLINK" %}
{% endif %}
- {% endif %}
+ {% endfor %}
--
cgit v1.2.3