diff options
author | zsloan | 2023-10-11 19:52:56 +0000 |
---|---|---|
committer | zsloan | 2023-10-11 19:52:56 +0000 |
commit | 368a6ff2aedae65f7b89ed4cc08d91a5753f39cf (patch) | |
tree | 7e3ebbab4c4c24eb6604e64782f8a84b3f79e505 | |
parent | 1915fcdf7f67cd76348b06070e86aedfb4076f01 (diff) | |
download | genenetwork2-368a6ff2aedae65f7b89ed4cc08d91a5753f39cf.tar.gz |
Re-enable filter options for correlations against phenotype traits
-rw-r--r-- | wqflask/wqflask/correlation/show_corr_results.py | 2 | ||||
-rw-r--r-- | wqflask/wqflask/templates/correlation_page.html | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/wqflask/wqflask/correlation/show_corr_results.py b/wqflask/wqflask/correlation/show_corr_results.py index 86af8646..b785fe64 100644 --- a/wqflask/wqflask/correlation/show_corr_results.py +++ b/wqflask/wqflask/correlation/show_corr_results.py @@ -62,7 +62,7 @@ def set_template_vars(start_vars, correlation_data): if target_dataset_ob.type == "ProbeSet": filter_cols = [7, 6] elif target_dataset_ob.type == "Publish": - filter_cols = [6, 0] + filter_cols = [8, 5] else: filter_cols = [4, 0] diff --git a/wqflask/wqflask/templates/correlation_page.html b/wqflask/wqflask/templates/correlation_page.html index 84fa4648..269a9dca 100644 --- a/wqflask/wqflask/templates/correlation_page.html +++ b/wqflask/wqflask/templates/correlation_page.html @@ -51,7 +51,6 @@ </form> <br /> <div id="export_options" style="float: left;"></div> - {% if target_dataset.type != "Publish" %} <br /> <div style="float: left; clear: left; margin-top: 10px; margin-bottom: 20px;"> <button id="more_options" class="btn btn-primary">More Options...</button> @@ -79,7 +78,6 @@ <br /> <br /> </div> - {% endif %} </div> <div class="show-hide-container" style="float: left; clear: left;"> <b>Show/Hide Columns:</b> @@ -181,7 +179,6 @@ return ((x < y) ? 1 : ((x > y) ? -1 : 0)); }; - {% if target_dataset.type != "Publish" %} $.fn.dataTable.ext.search.push( function( settings, data, dataIndex ) { var r_column = {{ filter_cols[0] }}; var r_greater = parseFloat($('input[name=r_greater_select]').val()) @@ -221,7 +218,6 @@ } return true }); - {% endif %} $(document).ready( function () { |