diff options
author | Alexander_Kabui | 2022-08-10 07:44:19 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-08-10 09:24:25 +0300 |
commit | 8a5f25d07ed1167ff48dbe27dd48a3a8d735d1ac (patch) | |
tree | 037cf76060489b33e5b48b812cd804079a97ef2d | |
parent | fecd924c217463cbb79f1627e7f839d449a47719 (diff) | |
download | genenetwork3-8a5f25d07ed1167ff48dbe27dd48a3a8d735d1ac.tar.gz |
remove unnessary code
-rw-r--r-- | gn3/computations/rust_correlation.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gn3/computations/rust_correlation.py b/gn3/computations/rust_correlation.py index 6d37726..9a4af32 100644 --- a/gn3/computations/rust_correlation.py +++ b/gn3/computations/rust_correlation.py @@ -161,25 +161,3 @@ def parse_tissue_corr_data(symbol_name: str, results = (x_vals, data) return results - - -def parse_lit_corr_data(_trait, _dataset): - """todo:parse lit data""" - - -def merge_corr_results(results_a: dict, results_b: dict): - """merge results when computing all correlations""" - - results = [] - - for (name, corr_values) in results_a.items(): - if results_b.get(name): - tmp = results_a[name] #dict - tmp.update(results_b[name]) - - output = tmp - else: - output = corr_values - - results.append({name: output}) - return results |