aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-09-09 08:27:42 +0300
committerFrederick Muriuki Muriithi2022-09-09 08:27:42 +0300
commit8eec2b879273b9e1a83f946bc784c03383a20595 (patch)
tree9a12401b993542fb66086bfda1e8c6c5167cdca5
parent7e7d31e842e3abfcc87729bfee12c8db25c565f1 (diff)
downloadgenenetwork2-8eec2b879273b9e1a83f946bc784c03383a20595.tar.gz
Remove `None` values from dataset
-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 251ada7b..775f4ee9 100644
--- a/wqflask/wqflask/correlation/rust_correlation.py
+++ b/wqflask/wqflask/correlation/rust_correlation.py
@@ -234,7 +234,7 @@ def __compute_sample_corr__(
target_data = []
for (key, val) in target_dataset.trait_data.items():
- lts = [key] + [str(x) for x in val]
+ lts = [key] + [str(x) for x in val if x is not None]
r = ",".join(lts)
target_data.append(r)