def fwer(ruleset, alpha=0.05):
    m = float(len(ruleset))
    ruleset = sorted(ruleset, key=lambda r: r.pval)
    for k, rule in enumerate(ruleset):
        if rule.pval > alpha/(m + 1 - (k + 1)):
            ruleset = ruleset[:k]
            break

    return ruleset
When the cluster configuration includes no datasets, the
dataset/ETHPy150Open anzev/hedwig/hedwig/stats/adjustment.py/fwer--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/GetDatasetConfigurationTestsMixin.test_empty