From 4725a8c20d1d4209d59b3b113f00bbc467c5bd31 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Tue, 16 Nov 2021 19:43:15 +0300 Subject: init disable fast compute:memory fork issues --- wqflask/wqflask/correlation/correlation_gn3_api.py | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/correlation/correlation_gn3_api.py b/wqflask/wqflask/correlation/correlation_gn3_api.py index 191a748a..635ef5ed 100644 --- a/wqflask/wqflask/correlation/correlation_gn3_api.py +++ b/wqflask/wqflask/correlation/correlation_gn3_api.py @@ -194,20 +194,8 @@ def compute_correlation(start_vars, method="pearson", compute_all=False): (this_trait_data, target_dataset_data) = fetch_sample_data( start_vars, this_trait, this_dataset, target_dataset) - correlation_results = fetch_precompute_results( - this_dataset.name, target_dataset.name, this_dataset.type, this_trait.name) - - if correlation_results is None: - correlation_results = fast_compute_all_sample_correlation(corr_method=method, - this_trait=this_trait_data, - target_dataset=target_dataset_data) - - cache_compute_results(this_dataset.type, - this_dataset.name, - target_dataset.name, - corr_method, - correlation_results, - this_trait.name) + correlation_results = compute_all_sample_correlation( + corr_method=method, this_trait=this_trait_data, target_dataset=target_dataset_data) elif corr_type == "tissue": trait_symbol_dict = this_dataset.retrieve_genes("Symbol") -- cgit v1.2.3