Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit 325de84

Browse files
committed
Try different tolerance.
1 parent ab18c53 commit 325de84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

diffxpy/unit_test/test_single_sf_null.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _test_null_distribution_wald(
4949
"condition": np.random.randint(2, size=n_cells),
5050
"batch": np.random.randint(2, size=n_cells)
5151
})
52-
random_sf = np.random.uniform(0.5, 1.5, n_cells)
52+
random_sf = np.random.uniform(0.999, 1.001, n_cells)
5353

5454
test = de.test.wald(
5555
data=model.x,
@@ -110,7 +110,7 @@ class TestSingleSfNullNorm(_TestSingleSfNull, unittest.TestCase):
110110
"""
111111
def test_null_distribution_wald_norm(
112112
self,
113-
n_cells: int = 200,
113+
n_cells: int = 2000,
114114
n_genes: int = 200
115115
):
116116
"""

0 commit comments

Comments
 (0)