aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)