aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2021-06-16 22:04:41 +0000
committerzsloan2021-06-16 22:04:41 +0000
commit55bccdd5cf8cdac52a625228b31732b5529810b5 (patch)
treeb548c9353e2f51ad780dbd7b0754e11dc58e9077
parent73195c1af57cbcf0fa38f1e73e8878c02938ef4b (diff)
downloadgenenetwork2-55bccdd5cf8cdac52a625228b31732b5529810b5.tar.gz
Fixed reference to target_trait['lrs_location'] that should have been target_trait['location'] for correlations against genotypes
-rw-r--r--wqflask/wqflask/correlation/show_corr_results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/correlation/show_corr_results.py b/wqflask/wqflask/correlation/show_corr_results.py
index 6c6d8f4e..91716a6a 100644
--- a/wqflask/wqflask/correlation/show_corr_results.py
+++ b/wqflask/wqflask/correlation/show_corr_results.py
@@ -152,7 +152,7 @@ def correlation_json_for_table(correlation_data, this_trait, this_dataset, targe
if bool(target_trait['additive']):
results_dict['additive'] = f"{float(target_trait['additive']):.3f}"
else:
- results_dict['location'] = target_trait['lrs_location']
+ results_dict['location'] = target_trait['location']
results_list.append(results_dict)