Skip to content

Commit

Permalink
Remove voxel thresh from defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
adelavega committed Jan 19, 2024
1 parent cde2984 commit 0f417af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nimare/correct.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,13 +280,13 @@ class FWECorrector(Corrector):
_correction_method = "fwe"

def __init__(
self, method="bonferroni", voxel_thresh=None, n_iters=None, n_cores=None, **kwargs
self, method="bonferroni", n_iters=None, n_cores=None, **kwargs
):
if method not in ("bonferroni", "montecarlo"):
raise ValueError(f"Unsupported FWE correction method '{method}'")

if method == "montecarlo":
kwargs.update({"voxel_thresh": voxel_thresh, "n_iters": n_iters, "n_cores": n_cores})
kwargs.update({"n_iters": n_iters, "n_cores": n_cores})

self.method = method
self.parameters = kwargs
Expand Down

0 comments on commit 0f417af

Please sign in to comment.