diff options
author | Alexander_Kabui | 2022-08-10 07:42:01 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-08-10 09:23:25 +0300 |
commit | fecd924c217463cbb79f1627e7f839d449a47719 (patch) | |
tree | 924207f400457a0eb754910e06efec7919dfa38d /gn3/computations | |
parent | bfad75864d50d0cbe2b63a6b7a7b866215b61022 (diff) | |
download | genenetwork3-fecd924c217463cbb79f1627e7f839d449a47719.tar.gz |
remove unnecessary parsing of floats
Diffstat (limited to 'gn3/computations')
-rw-r--r-- | gn3/computations/rust_correlation.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 = [] |