From e19fd27746eb322b3ae06223e0d604b01e519536 Mon Sep 17 00:00:00 2001 From: Ilha Hwang Date: Wed, 17 Jul 2024 09:51:46 -0600 Subject: [PATCH] Decreases number of repetitions in test and increases default repetitions --- python/python/bystro/parent_of_origin/parent_of_origin.py | 2 +- .../bystro/parent_of_origin/tests/test_parent_of_origin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/python/bystro/parent_of_origin/parent_of_origin.py b/python/python/bystro/parent_of_origin/parent_of_origin.py index 86ae7b584..8dab5ca92 100644 --- a/python/python/bystro/parent_of_origin/parent_of_origin.py +++ b/python/python/bystro/parent_of_origin/parent_of_origin.py @@ -581,7 +581,7 @@ def __init__( pval_method: str = "rmt4ds", cov_regularization: str = "Empirical", svd_loss: Optional[str] = None, - n_repeats: int = 1000, + n_repeats: int = 4000, ) -> None: """ Raises diff --git a/python/python/bystro/parent_of_origin/tests/test_parent_of_origin.py b/python/python/bystro/parent_of_origin/tests/test_parent_of_origin.py index 30c568719..e38fdcc5b 100644 --- a/python/python/bystro/parent_of_origin/tests/test_parent_of_origin.py +++ b/python/python/bystro/parent_of_origin/tests/test_parent_of_origin.py @@ -255,5 +255,5 @@ def test_multi2_fit(): data = generate_multivariate_data( beta_m, beta_p, rng, maf=0.03, n_individuals=50000, n_genotypes=1000 ) - model = POEMultipleSNP2() + model = POEMultipleSNP2(n_repeats=10) model.fit(data["phenotypes"], data["genotypes"], seed=2021)