aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-10-31 18:35:39 +0000
committerzsloan2022-10-31 18:35:39 +0000
commitcdf717ca66b7c4346aa0044227d887e4de2b073f (patch)
tree02fcd30496e4d02138395febc5fac2994ac7384b
parentaac4f602bf03e01c13e20af5980aa289274956b0 (diff)
downloadgenenetwork2-cdf717ca66b7c4346aa0044227d887e4de2b073f.tar.gz
Only show Tissue in trait page for ProbeSet traits
-rw-r--r--wqflask/wqflask/templates/show_trait_details.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/show_trait_details.html b/wqflask/wqflask/templates/show_trait_details.html
index 75192a18..2a94bfe1 100644
--- a/wqflask/wqflask/templates/show_trait_details.html
+++ b/wqflask/wqflask/templates/show_trait_details.html
@@ -20,7 +20,7 @@
<td><b>Journal</b></td>
<td>{{ this_trait.journal }} ({% if this_trait.pubmed_id %}<a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=PubMed&list_uids={{ this_trait.pubmed_id }}&dop=Abstract" target="_blank" title="PubMed">{{ this_trait.year }}</a>{% else %}{{ this_trait.year }}{% endif %})</td>
</tr>
- {% else %}
+ {% elif this_trait.dataset.type == 'ProbeSet' %}
<tr>
<td><b>Tissue</b></td>
<td>{{ this_trait.dataset.tissue }}</td>