diff options
author | Frederick Muriuki Muriithi | 2022-09-09 08:27:42 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-09-09 08:27:42 +0300 |
commit | 8eec2b879273b9e1a83f946bc784c03383a20595 (patch) | |
tree | 9a12401b993542fb66086bfda1e8c6c5167cdca5 | |
parent | 7e7d31e842e3abfcc87729bfee12c8db25c565f1 (diff) | |
download | genenetwork2-8eec2b879273b9e1a83f946bc784c03383a20595.tar.gz |
Remove `None` values from dataset
-rw-r--r-- | wqflask/wqflask/correlation/rust_correlation.py | 2 |
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) |