From 55bccdd5cf8cdac52a625228b31732b5529810b5 Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 16 Jun 2021 22:04:41 +0000 Subject: Fixed reference to target_trait['lrs_location'] that should have been target_trait['location'] for correlations against genotypes --- wqflask/wqflask/correlation/show_corr_results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask') 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) -- cgit v1.2.3