diff options
author | Frederick Muriuki Muriithi | 2022-08-12 12:52:38 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-08-12 13:13:27 +0300 |
commit | 4bc374aeeba3e9fac75dea266e35bedb633f950c (patch) | |
tree | 2f4170168cfdaf0273393fd21442e8ed76640fee /wqflask | |
parent | 17ca7e77631f1fc6a247accfb39cf8da23dc4a92 (diff) | |
download | genenetwork2-4bc374aeeba3e9fac75dea266e35bedb633f950c.tar.gz |
Fix some issues with the tests. Add notes in code for improvements.
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/correlation/rust_correlation.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/wqflask/correlation/rust_correlation.py b/wqflask/wqflask/correlation/rust_correlation.py index b4435887..3628f549 100644 --- a/wqflask/wqflask/correlation/rust_correlation.py +++ b/wqflask/wqflask/correlation/rust_correlation.py @@ -135,6 +135,7 @@ def compute_correlation_rust( (this_dataset, this_trait, target_dataset, sample_data) = ( target_trait_info) + ## Replace this with `match ...` once we hit Python 3.10 corr_type_fns = { "sample": __compute_sample_corr__, "tissue": __compute_tissue_corr__, @@ -142,6 +143,7 @@ def compute_correlation_rust( } results = corr_type_fns[corr_type]( start_vars, corr_type, method, n_top, target_trait_info) + ## END: Replace this with `match ...` once we hit Python 3.10 top_tissue_results = {} top_lit_results = {} |