From 046d36c6aa210742a1c5a7233f66efbb4047509c Mon Sep 17 00:00:00 2001 From: James Kent Date: Tue, 10 Sep 2024 19:51:28 -0500 Subject: [PATCH] remove comments --- pymare/tests/test_combination_tests.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pymare/tests/test_combination_tests.py b/pymare/tests/test_combination_tests.py index 8a0a92f..c684d8d 100644 --- a/pymare/tests/test_combination_tests.py +++ b/pymare/tests/test_combination_tests.py @@ -70,7 +70,6 @@ def test_stouffer_adjusted(): groups_l1 = np.tile(np.array([0, 0, 0, 0, 0]), (data_l1.shape[1], 1)).T results_l1 = StoufferCombinationTest("directed").fit(z=data_l1, g=groups_l1).params_ - # z_l1 = ss.norm.isf(results_l1["p"]) sigma_l1 = n_maps_l1 * (n_maps_l1 - 1) # Expected inflation term z_expected_l1 = n_maps_l1 * common_sample / np.sqrt(n_maps_l1 + sigma_l1) @@ -82,7 +81,6 @@ def test_stouffer_adjusted(): results_corr = ( StoufferCombinationTest("directed").fit(z=data, w=weights, g=groups, corr=corr).params_ ) - # z_corr = ss.norm.isf(results_corr["p"]) z_corr_expected = np.array([5.00088912, 3.70356943, 4.05465924, 5.4633001, 5.18927878]) assert np.allclose(results_corr["z"], z_corr_expected, atol=1e-5) @@ -97,6 +95,5 @@ def test_stouffer_adjusted(): # Test with correlation matrix and no groups. results1 = StoufferCombinationTest("directed").fit(z=_z1, corr=corr).params_ - # z1 = ss.norm.isf(results1["p"]) assert np.allclose(results1["z"], [4.69574], atol=1e-5)