diff options
author | zsloan | 2017-09-07 16:52:15 +0000 |
---|---|---|
committer | zsloan | 2017-09-07 16:52:15 +0000 |
commit | 873a7c1b6312bee324ae25d550af15e9e8964a01 (patch) | |
tree | 29b650d9b60eebc6ff9fdc3d5805410d355c411b | |
parent | a58550f207686ba4dad2c7793d5b0a769d663b66 (diff) | |
parent | c0188f02830dace2fc82392788f987e3c46ee12a (diff) | |
download | genenetwork2-873a7c1b6312bee324ae25d550af15e9e8964a01.tar.gz |
Merge branch 'testing' of https://github.com/genenetwork/genenetwork2
-rw-r--r-- | wqflask/wqflask/templates/show_trait_mapping_tools.html | 14 |
1 files 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 @@ <div class="tabbable"> <!-- Only required for left/right tabs --> <ul class="nav nav-pills"> - {# if use_pylmm_rqtl and not use_plink_gemma and dataset.group.species != "human" #} {% if dataset.group.mapping_id == "1" %} <li class="active"> <a href="#interval_mapping" data-toggle="tab">Interval Mapping</a> @@ -19,11 +18,10 @@ <a href="#gemma" data-toggle="tab">GEMMA</a> </li> {% endif %} - {# if use_plink_gemma #} {% for mapping_method in dataset.group.mapping_names %} {% if mapping_method == "GEMMA" %} <li class="active"> - <a href="#gemma" data-toggle="tab">GEMMA</a> + <a href="#gemma_plink" data-toggle="tab">GEMMA</a> </li> {% elif mapping_method == "PLINK" %} <li> @@ -326,9 +324,9 @@ </div> </div> {% endif %} - {# if use_plink_gemma #} - {% if dataset.group.mapping_id == "2" or dataset.group.mapping_id == "4" %} - <div class="tab-pane" id="gemma"> + {% for mapping_method in dataset.group.mapping_names %} + {% if mapping_method == "GEMMA" %} + <div class="tab-pane active" id="gemma_plink"> <div style="padding-top: 10px;" class="form-horizontal"> <div class="mapping_method_fields form-group"> <label for="maf_gemma" class="col-xs-5 control-label">Minor allele threshold</label> @@ -357,7 +355,7 @@ </div> </div> </div> - {% if dataset.group.mapping_id == "4" %} + {% elif mapping_method == "PLINK" %} <div class="tab-pane" id="plink"> <div style="padding: 20px" class="form-horizontal"> <div class="mapping_method_fields form-group"> @@ -378,7 +376,7 @@ </div> </div> {% endif %} - {% endif %} + {% endfor %} </div> </div> </div> |