diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/static/new/javascript/partial_correlations.js | 2 | ||||
-rw-r--r-- | wqflask/wqflask/templates/partial_correlations.html | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/wqflask/wqflask/static/new/javascript/partial_correlations.js b/wqflask/wqflask/static/new/javascript/partial_correlations.js index 1cfb655e..1a06c48f 100644 --- a/wqflask/wqflask/static/new/javascript/partial_correlations.js +++ b/wqflask/wqflask/static/new/javascript/partial_correlations.js @@ -127,6 +127,8 @@ function display_geno_results(primary, controls, correlations, method) { new_row = template_row.cloneNode(true); new_row.setAttribute("class", "results-row"); new_row.querySelector( + 'td[data-column-heading="Locus"]').innerHTML = item["trait_name"]; + new_row.querySelector( 'td[data-column-heading="Chr"]').innerHTML = item["chr"]; new_row.querySelector( 'td[data-column-heading="Megabase"]').innerHTML = item["mb"]; diff --git a/wqflask/wqflask/templates/partial_correlations.html b/wqflask/wqflask/templates/partial_correlations.html index 54468155..4be4890e 100644 --- a/wqflask/wqflask/templates/partial_correlations.html +++ b/wqflask/wqflask/templates/partial_correlations.html @@ -247,6 +247,7 @@ <thead> <tr> <th>_</th> + <th>Locus</th> <th>Chr</th> <th>Megabase</th> <th>N</th> @@ -261,6 +262,7 @@ <tbody> <tr class="template-geno-results-row"> <td data-column-heading="_"></td> + <td data-column-heading="Locus"></td> <td data-column-heading="Chr"></td> <td data-column-heading="Megabase"></td> <td data-column-heading="N"></td> |