about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-11-30 16:23:53 +0300
committerBonfaceKilz2023-11-30 16:29:37 +0300
commitc17815aff6d089a51bc15c1aa7b9d87e7e6b3a49 (patch)
treeb0d29ee3bcabbc95959bed17ee501c969af3ee54
parent24d6ae43dbac118736e855aed1d2a02b058df3e4 (diff)
downloadgenenetwork2-c17815aff6d089a51bc15c1aa7b9d87e7e6b3a49.tar.gz
Add "Peak Location" in phenotypes display.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--wqflask/wqflask/templates/phenotype.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/phenotype.html b/wqflask/wqflask/templates/phenotype.html
index 4c0cdd99..500c2f70 100644
--- a/wqflask/wqflask/templates/phenotype.html
+++ b/wqflask/wqflask/templates/phenotype.html
@@ -82,6 +82,12 @@
 	    <td><b>Effect Size</b></td>
 	    <td>{{ metadata.additive or "N/A"}}</td>
 	</tr>
+	{% if metadata.locus %}
+	<tr>
+	    <td><b>Peak Location</b></td>
+	    <td>Chr{{ metadata.locus.chromosome }}: {{ metadata.locus.mb }}</td>
+	</tr>
+	{% endif %}
 	{% if metadata.references.id %}
 	<tr>
 	    <td><b>Resource Links</b></td>