aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility
diff options
context:
space:
mode:
authorzsloan2018-08-14 17:19:46 +0000
committerzsloan2018-08-14 17:19:46 +0000
commit18ef3e74e7e898cbec200b7ed18b83db26741b62 (patch)
tree30d14a092f7e34e0e00087dedf81fe53d12869d6 /wqflask/utility
parentb964a8b732c1066978ce88073c009803f36a9173 (diff)
downloadgenenetwork2-18ef3e74e7e898cbec200b7ed18b83db26741b62.tar.gz
Added cofactors to correlation scatterplot and changed it to use Plotly
Added Phenogen track to mapping results Added comparison bar chart figure Simplified global search to not build trait/dataset objects, which speeds thing up considerably Fixed correlation matrix to correctly deal with 0 values Fixed issue where anonymous collections couldn't be created if none already existed
Diffstat (limited to 'wqflask/utility')
-rw-r--r--wqflask/utility/corr_result_helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/corr_result_helpers.py b/wqflask/utility/corr_result_helpers.py
index ef644d85..b543c589 100644
--- a/wqflask/utility/corr_result_helpers.py
+++ b/wqflask/utility/corr_result_helpers.py
@@ -15,7 +15,7 @@ def normalize_values(a_values, b_values):
a_new = []
b_new = []
for counter in range(min_length):
- if a_values[counter] and b_values[counter]:
+ if (a_values[counter] or a_values[counter] == 0) and (b_values[counter] or b_values[counter] == 0):
a_new.append(a_values[counter])
b_new.append(b_values[counter])