diff options
author | zsloan | 2022-11-08 20:30:44 +0000 |
---|---|---|
committer | zsloan | 2022-11-08 20:30:44 +0000 |
commit | e66ca1919381261a0fcdb744d1fc12e8f51739d8 (patch) | |
tree | 03bbc085603464bd879ae8a25391e557ecb0fac1 | |
parent | 7034bf5ffb1498230ffb8f4da2f91cf2ca882845 (diff) | |
download | genenetwork3-e66ca1919381261a0fcdb744d1fc12e8f51739d8.tar.gz |
Fix issue where only primary samples were used when all samples are
selected
This is because base_samples was set to all_samples_ordered, which only
includes primary samples + parents/f1s. Setting this to an empty list
fixed the issue and caused it to use all samples again.
-rw-r--r-- | gn3/computations/rust_correlation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/rust_correlation.py b/gn3/computations/rust_correlation.py index 644c73b..9595b57 100644 --- a/gn3/computations/rust_correlation.py +++ b/gn3/computations/rust_correlation.py @@ -144,7 +144,7 @@ def get_sample_corr_data(sample_type: str, excluded=dataset_samples) else: data = get_samples( - all_samples=sample_data, base_samples=all_samples, excluded=[]) + all_samples=sample_data, base_samples=[], excluded=[]) return data |