aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,