From a4bd53a97003a2b0f1b779e0406053686305d523 Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 5 Sep 2023 18:04:02 +0000 Subject: Fix issue where X and Y axis were the same when using data ID for correlation scatterplot --- wqflask/wqflask/correlation/corr_scatter_plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/correlation/corr_scatter_plot.py b/wqflask/wqflask/correlation/corr_scatter_plot.py index e5f545a2..dd12169a 100644 --- a/wqflask/wqflask/correlation/corr_scatter_plot.py +++ b/wqflask/wqflask/correlation/corr_scatter_plot.py @@ -47,7 +47,7 @@ class CorrScatterPlot: trait_data_dict = json.loads(Redis.get(params['dataid'])) trait_data = {key:webqtlCaseData.webqtlCaseData(key, float(trait_data_dict[key])) for (key, value) in trait_data_dict.items() if trait_data_dict[key] != "x"} samples_1, samples_2, num_overlap = corr_result_helpers.normalize_values_with_samples( - self.trait_1.data, trait_data) + trait_data, self.trait_2.data) else: samples_1, samples_2, num_overlap = corr_result_helpers.normalize_values_with_samples( self.trait_1.data, self.trait_2.data) -- cgit v1.2.3