From 0c9ec1de388359916abc7386154093fd0d76dbf0 Mon Sep 17 00:00:00 2001 From: DannyArends Date: Fri, 17 Feb 2017 21:31:09 +0100 Subject: Cleaning up the templates, adding the LOC adjusted column --- wqflask/wqflask/templates/phewas_analysis.html | 4 ++-- wqflask/wqflask/templates/show_trait_PheWAS_tools.html | 16 +++++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/wqflask/wqflask/templates/phewas_analysis.html b/wqflask/wqflask/templates/phewas_analysis.html index 4dbc071f..91c47a10 100644 --- a/wqflask/wqflask/templates/phewas_analysis.html +++ b/wqflask/wqflask/templates/phewas_analysis.html @@ -10,12 +10,12 @@ {%- endfor %}

Top 5 PheWAS hits

- + {% for r in range(5) %} {% for c in range(results['tabulardata']|length) %}
GN IDPhenotypePhenosomeLOD
GN IDPhenotypePhenosomeLODLOD( {{ results['mtadjust'] }} )
- {% if c == 3 %} + {% if c >= 3 %} {{results['tabulardata'][c][r]|float|round(2)}} {% else %} {{results['tabulardata'][c][r]}} diff --git a/wqflask/wqflask/templates/show_trait_PheWAS_tools.html b/wqflask/wqflask/templates/show_trait_PheWAS_tools.html index d8193652..d4e9ae66 100644 --- a/wqflask/wqflask/templates/show_trait_PheWAS_tools.html +++ b/wqflask/wqflask/templates/show_trait_PheWAS_tools.html @@ -17,24 +17,30 @@

PheWAS options: +
- +
- +
-- cgit v1.2.3