From 4def674f52f63f37ed986c9745628bcc6b8f7d82 Mon Sep 17 00:00:00 2001 From: zsloan Date: Fri, 25 Oct 2019 13:21:03 -0500 Subject: Fixed issue where correlation matrix wouldn't display correctly if two traits from different datasets had the same trait ID --- wqflask/wqflask/templates/correlation_matrix.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wqflask/wqflask/templates/correlation_matrix.html b/wqflask/wqflask/templates/correlation_matrix.html index 34a15c6a..9af52021 100644 --- a/wqflask/wqflask/templates/correlation_matrix.html +++ b/wqflask/wqflask/templates/correlation_matrix.html @@ -48,7 +48,7 @@ {% for result in corr_results[loop.index-1] %} - {% if result[0].name == trait.name %} + {% if result[0].name == trait.name and result[0].dataset == trait.dataset %} n
{{ result[2] }}
{% else %} {{ '%0.2f' % result[1] }}
{{ result[2] }}
-- cgit v1.2.3