From fecd924c217463cbb79f1627e7f839d449a47719 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Wed, 10 Aug 2022 07:42:01 +0300 Subject: remove unnecessary parsing of floats --- gn3/computations/rust_correlation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gn3') diff --git a/gn3/computations/rust_correlation.py b/gn3/computations/rust_correlation.py index d8d2cf0..6d37726 100644 --- a/gn3/computations/rust_correlation.py +++ b/gn3/computations/rust_correlation.py @@ -89,6 +89,7 @@ def parse_correlation_output(result_file: str, return [] + def get_samples(all_samples: dict[str, str], base_samples: list[str], excluded: list[str]): @@ -141,8 +142,7 @@ def parse_tissue_corr_data(symbol_name: str, results = None if symbol_name and symbol_name.lower() in symbol_dict: - x_vals = ",".join([str(val) - for val in symbol_dict[symbol_name.lower()]]) + x_vals = [float(val) for val in symbol_dict[symbol_name.lower()]] data = [] -- cgit v1.2.3