aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/correlation/rust_correlation.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/wqflask/wqflask/correlation/rust_correlation.py b/wqflask/wqflask/correlation/rust_correlation.py
index f1294dfb..5ae5e89c 100644
--- a/wqflask/wqflask/correlation/rust_correlation.py
+++ b/wqflask/wqflask/correlation/rust_correlation.py
@@ -361,12 +361,14 @@ def compute_correlation_rust(
if should_compute_all:
- if corr_type == "sample" and this_dataset.type == "ProbeSet":
-
- top_a = compute_top_n_tissue(
- target_dataset, this_trait, results, method)
-
- top_b = compute_top_n_lit(results, target_dataset, this_trait)
+ if corr_type == "sample":
+ if this_dataset.type == "ProbeSet":
+ top_a = compute_top_n_tissue(
+ target_dataset, this_trait, results, method)
+
+ top_b = compute_top_n_lit(results, target_dataset, this_trait)
+ else:
+ pass
elif corr_type == "lit":