aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations
diff options
context:
space:
mode:
authorzsloan2022-11-08 20:30:44 +0000
committerzsloan2022-11-08 20:30:44 +0000
commite66ca1919381261a0fcdb744d1fc12e8f51739d8 (patch)
tree03bbc085603464bd879ae8a25391e557ecb0fac1 /gn3/computations
parent7034bf5ffb1498230ffb8f4da2f91cf2ca882845 (diff)
downloadgenenetwork3-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.
Diffstat (limited to 'gn3/computations')
-rw-r--r--gn3/computations/rust_correlation.py2
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