From 12236c450f5db4a93cb8dd47456e984bc4fb672d Mon Sep 17 00:00:00 2001
From: Frederick Muriuki Muriithi
Date: Thu, 26 May 2022 16:54:38 +0300
Subject: Enumerate rows and add checkboxes
---
wqflask/wqflask/partial_correlations_views.py | 1 +
.../pcorrs_results_presentation.html | 27 ++++++++++++++--------
.../pcorrs_results_with_target_traits.html | 9 +++++++-
3 files changed, 27 insertions(+), 10 deletions(-)
(limited to 'wqflask')
diff --git a/wqflask/wqflask/partial_correlations_views.py b/wqflask/wqflask/partial_correlations_views.py
index 50f295cc..f567cee3 100644
--- a/wqflask/wqflask/partial_correlations_views.py
+++ b/wqflask/wqflask/partial_correlations_views.py
@@ -336,6 +336,7 @@ def process_pcorrs_command_output(result):
correlations=result["results"]["correlations"],
dataset_type=result["results"]["dataset_type"],
method=result["results"]["method"],
+ enumerate = enumerate,
format_number=__format_number)
if result["status"] == "error":
return render_error(
diff --git a/wqflask/wqflask/templates/partial_correlations/pcorrs_results_presentation.html b/wqflask/wqflask/templates/partial_correlations/pcorrs_results_presentation.html
index 679a7510..735f0cdf 100644
--- a/wqflask/wqflask/templates/partial_correlations/pcorrs_results_presentation.html
+++ b/wqflask/wqflask/templates/partial_correlations/pcorrs_results_presentation.html
@@ -44,7 +44,10 @@
style="float: left;">
-
+
+
+
Index
Record
Phenotype
@@ -60,10 +63,10 @@