diff options
author | Alexander Kabui | 2022-11-29 18:04:11 +0300 |
---|---|---|
committer | GitHub | 2022-11-29 18:04:11 +0300 |
commit | a1552491f5880d4bb94e0b3f8cf52832fa1a842b (patch) | |
tree | b93d14d3b09fe39ccd8784dcd3da3b4a607259c4 /wqflask | |
parent | 972d1df54a866e2e48372fc1ed92c56fbe3407cd (diff) | |
download | genenetwork2-a1552491f5880d4bb94e0b3f8cf52832fa1a842b.tar.gz |
remove unnecessary function argument (#754)
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/correlation/rust_correlation.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/wqflask/wqflask/correlation/rust_correlation.py b/wqflask/wqflask/correlation/rust_correlation.py index 0901886e..2d6d907e 100644 --- a/wqflask/wqflask/correlation/rust_correlation.py +++ b/wqflask/wqflask/correlation/rust_correlation.py @@ -114,11 +114,9 @@ def compute_top_n_sample(start_vars, dataset, trait_list): return {} def __fetch_sample_ids__(samples_vals, samples_group): - all_samples = json.loads(samples_vals) sample_data = get_sample_corr_data( sample_type=samples_group, - sample_data=json.loads(start_vars["sample_vals"]), - all_samples=all_samples, + sample_data=json.loads(samples_vals), dataset_samples=dataset.group.all_samples_ordered()) with database_connector() as conn: |