aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-rw-r--r--gn3/computations/partial_correlations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/partial_correlations.py b/gn3/computations/partial_correlations.py
index 9bad12a..157024b 100644
--- a/gn3/computations/partial_correlations.py
+++ b/gn3/computations/partial_correlations.py
@@ -753,7 +753,7 @@ def partial_correlations_entry(# pylint: disable=[R0913, R0914, R0911]
selected_results = sorted(
all_correlations,
- key=__make_sorter__(method))[:min(criteria, len(all_correlations))]
+ key=__make_sorter__(method))[:criteria]
traits_list_corr_info = {
f"{target_dataset['dataset_name']}::{item[0]}": {
"noverlap": item[1],