aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/correlation/rust_correlation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/correlation/rust_correlation.py b/wqflask/wqflask/correlation/rust_correlation.py
index 92cb362c..bf81dd11 100644
--- a/wqflask/wqflask/correlation/rust_correlation.py
+++ b/wqflask/wqflask/correlation/rust_correlation.py
@@ -192,9 +192,9 @@ def compute_top_n_tissue(this_dataset, this_trait, traits, method):
symbol_dict=get_trait_symbol_and_tissue_values(
symbol_list=[this_trait.symbol]),
dataset_symbols=trait_symbol_dict,
- dataset_vals=corr_result_tissue_vals_dict)
+ dataset_vals=corr_result_tissue_vals_dict)
- if data:
+ if data[0]:
return run_correlation(
data[1], data[0], method, ",", "tissue")