aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexanderKabui2022-11-28 04:43:42 +0300
committerzsloan2022-11-28 16:06:00 -0600
commitace3893c96cd225b447284268d54e80ebff35329 (patch)
treed574705cccce9f5856d6665808c787dfb2a32950
parente19ad95d90c9a56935731fb3f4cb371b9a262ab7 (diff)
downloadgenenetwork2-ace3893c96cd225b447284268d54e80ebff35329.tar.gz
this commit remove the stage for parsing rows to remove nan values
* this stage is already handled by the rust code hence doing positional comparison lead to different results than expected
-rw-r--r--wqflask/wqflask/correlation/rust_correlation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/correlation/rust_correlation.py b/wqflask/wqflask/correlation/rust_correlation.py
index 06a8d944..0901886e 100644
--- a/wqflask/wqflask/correlation/rust_correlation.py
+++ b/wqflask/wqflask/correlation/rust_correlation.py
@@ -268,7 +268,7 @@ def __compute_sample_corr__(
target_dataset.get_trait_data(list(sample_data.keys()))
def __merge_key_and_values__(rows, current):
- wo_nones = [value for value in current[1] if value is not None]
+ wo_nones = [value for value in current[1]]
if len(wo_nones) > 0:
return rows + [[current[0]] + wo_nones]
return rows