From 1111128e80ec8e90d811110a3c99bc044ccf451a Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 10 Aug 2022 09:49:51 +0300 Subject: enhancements for rust tissue --- gn3/computations/rust_correlation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gn3/computations/rust_correlation.py b/gn3/computations/rust_correlation.py index e7f6bba..e312651 100644 --- a/gn3/computations/rust_correlation.py +++ b/gn3/computations/rust_correlation.py @@ -44,7 +44,6 @@ def generate_json_file( return (output_file, tmp_json_file) - def run_correlation( dataset, trait_vals: str, method: str, delimiter: str, corr_type: str = "sample", top_n: int = 500): @@ -75,6 +74,7 @@ def parse_correlation_output(result_file: str, "corr_coefficient": corr_coeff, "p_value": p_val }) + if corr_type == "tissue": return ( trait_name, -- cgit v1.2.3