aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorAlexander Kabui2021-11-11 00:23:55 +0300
committerBonfaceKilz2021-11-11 09:20:26 +0300
commite9fb78b5bc43bd8c63b8b790f0f3fe826051fbe7 (patch)
tree1074af23d951d9c731f3e1b69afb8e8a26598a42 /gn3
parent01ddb7300b451108983327ae11f69e265a2ec2e0 (diff)
downloadgenenetwork3-e9fb78b5bc43bd8c63b8b790f0f3fe826051fbe7.tar.gz
fix target and base sample data order
Diffstat (limited to 'gn3')
-rw-r--r--gn3/computations/correlations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/correlations.py b/gn3/computations/correlations.py
index 8302afc..4987571 100644
--- a/gn3/computations/correlations.py
+++ b/gn3/computations/correlations.py
@@ -115,7 +115,7 @@ def filter_shared_sample_keys(this_samplelist,
"""
for key, value in target_samplelist.items():
if key in this_samplelist:
- yield value, this_samplelist[key]
+ yield this_samplelist[key], value
def fast_compute_all_sample_correlation(this_trait,