aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2021-07-09 21:35:13 +0000
committerzsloan2021-07-09 21:35:13 +0000
commitfd726da54c9e65c0721de6f8181c2dde93831a7a (patch)
tree633ac4d53d9f53aab9328e9f0d5dfd41c99f9a65
parent9080fa91f072956fb0137e36b9ef1b45e7e03e34 (diff)
downloadgenenetwork2-fd726da54c9e65c0721de6f8181c2dde93831a7a.tar.gz
Only show literature and tissue correlation options if the trait's dataset is type ProbeSet
-rw-r--r--wqflask/wqflask/templates/show_trait_calculate_correlations.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/show_trait_calculate_correlations.html b/wqflask/wqflask/templates/show_trait_calculate_correlations.html
index e623a968..ffbe313c 100644
--- a/wqflask/wqflask/templates/show_trait_calculate_correlations.html
+++ b/wqflask/wqflask/templates/show_trait_calculate_correlations.html
@@ -7,8 +7,10 @@
<div class="col-xs-3 controls">
<select name="corr_type" class="form-control">
<option value="sample">Sample r</option>
+ {% if dataset.type == 'ProbeSet' %}
<option value="lit">Literature r</option>
<option value="tissue">Tissue r</option>
+ {% endif %}
</select>
</div>
</div>