Skip to content

Commit

Permalink
Test nonaggressive mask here
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioAPeraza committed Jul 22, 2024
1 parent 92ebc1f commit 2a6debd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nimare/tests/test_meta_ibma.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,10 @@ def test_ibma_resampling(testdata_ibma_resample, resample_kwargs):
assert isinstance(results, nimare.results.MetaResult)


def test_stouffers_multiple_contrasts(testdata_ibma_multiple_contrasts):
@pytest.mark.parametrize("aggressive_mask", [True, False], ids=["aggressive", "liberal"])
def test_stouffers_multiple_contrasts(testdata_ibma_multiple_contrasts, aggressive_mask):
"""Test Stouffer's correction with multiple contrasts."""
meta = ibma.Stouffers()
meta = ibma.Stouffers(aggressive_mask=aggressive_mask)
results = meta.fit(testdata_ibma_multiple_contrasts)

assert isinstance(results, nimare.results.MetaResult)
Expand Down

0 comments on commit 2a6debd

Please sign in to comment.