From 8ff92fc9630a3198fcb85f0663759703e14e2a19 Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 19 Apr 2022 20:26:45 +0000 Subject: Add scatterplot link for additive effect in mapping results --- wqflask/wqflask/templates/mapping_results.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wqflask/wqflask/templates/mapping_results.html b/wqflask/wqflask/templates/mapping_results.html index 97c6cb69..45e1b202 100644 --- a/wqflask/wqflask/templates/mapping_results.html +++ b/wqflask/wqflask/templates/mapping_results.html @@ -305,8 +305,12 @@ {% endif %} {{ marker.display_pos }} {% if 'additive' in marker %} + {% if geno_db_exists == "True" %} + {{ '%0.3f' | format(marker.additive|float) }} + {% else %}} {{ '%0.3f' | format(marker.additive|float) }} {% endif %} + {% endif %} {% if 'dominance' in marker and dataset.group.genetic_type != "riset" %} {{ '%0.2f' | format(marker.dominance|float) }} {% endif %} -- cgit v1.2.3