Skip to content

Commit

Permalink
better float
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelkusch committed Jan 17, 2025
1 parent 7b1f941 commit a3773af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hidimstat/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def _bhq_threshold(pvals, fdr=0.1):
return pvals_sorted[selected_index]
else:
# no threshold, all the pvalue are positif
return -1
return -1.0


def _ebh_threshold(evals, fdr=0.1):
Expand Down Expand Up @@ -126,7 +126,7 @@ def _bhy_threshold(pvals, reshaping_function=None, fdr=0.1):
return pvals_sorted[selected_index]
else:
# no threshold, all the pvalue are positif
return -1
return -1.0


def _fixed_quantile_aggregation(pvals, gamma=0.5):
Expand Down

0 comments on commit a3773af

Please sign in to comment.