diff options
author | AlexanderKabui | 2022-11-28 04:43:42 +0300 |
---|---|---|
committer | zsloan | 2022-11-28 16:06:00 -0600 |
commit | ace3893c96cd225b447284268d54e80ebff35329 (patch) | |
tree | d574705cccce9f5856d6665808c787dfb2a32950 | |
parent | e19ad95d90c9a56935731fb3f4cb371b9a262ab7 (diff) | |
download | genenetwork2-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.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 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 |