diff options
author | Frederick Muriuki Muriithi | 2022-10-28 16:15:17 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-10-28 16:15:17 +0300 |
commit | 278621273f01435472a49fb84f77d9dbf581abae (patch) | |
tree | d3488a59a5465a6048833d415c1e8b54d3485e13 | |
parent | 54c0b11510088f30c91ac14ee8b9f769a657903f (diff) | |
download | genenetwork2-278621273f01435472a49fb84f77d9dbf581abae.tar.gz |
Add `sample_data` argument to function call.run-corrs-in-external-process
-rw-r--r-- | wqflask/wqflask/correlation/rust_correlation.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/wqflask/correlation/rust_correlation.py b/wqflask/wqflask/correlation/rust_correlation.py index 4b7eedc0..a2f842bc 100644 --- a/wqflask/wqflask/correlation/rust_correlation.py +++ b/wqflask/wqflask/correlation/rust_correlation.py @@ -116,7 +116,9 @@ def compute_top_n_sample(start_vars, dataset, trait_list): def __fetch_sample_ids__(samples_vals, samples_group): all_samples = json.loads(samples_vals) sample_data = get_sample_corr_data( - sample_type=samples_group, all_samples=all_samples, + sample_type=samples_group, + sample_data=json.loads(start_vars["sample_vals"]), + all_samples=all_samples, dataset_samples=dataset.group.all_samples_ordered()) with database_connector() as conn: |