From e66ca1919381261a0fcdb744d1fc12e8f51739d8 Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 8 Nov 2022 20:30:44 +0000 Subject: 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. --- gn3/computations/rust_correlation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3') 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 -- cgit v1.2.3