Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tableone/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def check_list(self,
def check_pval_adjust(self, pval_adjust: str):
"""Ensure 'pval_adjust' is a known method."""
if pval_adjust is not None:
valid_methods = {"bonferroni", "sidak", "holm-sidak", "simes-hochberg", "hommel", None}
valid_methods = {"bonferroni", "sidak", "holm-sidak", "simes-hochberg", "hommel","holm","fdr_bh","fdr_by","fdr_tsbh","fdr_tsbky", None}
if isinstance(pval_adjust, str):
if pval_adjust.lower() not in valid_methods:
msg = (f"Invalid 'pval_adjust' value: '{pval_adjust}'. "
Expand Down