aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2020-07-22 01:41:14 +0300
committerBonfaceKilz2020-07-24 03:47:43 +0300
commit2b7d50f9ac6d0f4f6a032e60053b5923c292a0a1 (patch)
tree7f653abcfacc106b70d3220773c61bc46f4851d1
parentf99df1fa0f2163a93f7e194beeb65f0e1d542594 (diff)
downloadgenenetwork2-2b7d50f9ac6d0f4f6a032e60053b5923c292a0a1.tar.gz
Remove unused assert
* wqflask/utility/corr_result_helpers.py(normalize_values): At no one point will that assert be hit
-rw-r--r--wqflask/utility/corr_result_helpers.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/wqflask/utility/corr_result_helpers.py b/wqflask/utility/corr_result_helpers.py
index 09017e4a..a43edbd4 100644
--- a/wqflask/utility/corr_result_helpers.py
+++ b/wqflask/utility/corr_result_helpers.py
@@ -33,14 +33,10 @@ def common_keys(a_samples, b_samples):
def normalize_values_with_samples(a_samples, b_samples):
common_samples = common_keys(a_samples, b_samples)
-
a_new = {}
b_new = {}
for sample in common_samples:
a_new[sample] = a_samples[sample]
b_new[sample] = b_samples[sample]
- num_overlap = len(a_new)
- assert num_overlap == len(b_new), "Lengths should be the same"
-
return a_new, b_new, num_overlap