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

Commit 7a02f6b

Browse files
committed
Remove tf1 backend
1 parent eb73dcb commit 7a02f6b

File tree

1 file changed

+0
-46
lines changed

1 file changed

+0
-46
lines changed

diffxpy/unit_test/test_backends.py

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -75,52 +75,6 @@ class TestSingleNullBackendsNb(_TestSingleNullBackends, unittest.TestCase):
7575
distributed p-values if data are sampled from the null model.
7676
"""
7777

78-
# def test_null_distribution_wald_nb_tf1(
79-
# self,
80-
# n_cells: int = 2000,
81-
# n_genes: int = 200
82-
# ):
83-
# """
84-
# Test if wald() generates a uniform p-value distribution for "nb" noise model under tf1 backend
85-
#
86-
# :param n_cells: Number of cells to simulate (number of observations per test).
87-
# :param n_genes: Number of genes to simulate (number of tests).
88-
# """
89-
# logging.getLogger("tensorflow").setLevel(logging.ERROR)
90-
# logging.getLogger("batchglm").setLevel(logging.WARNING)
91-
# logging.getLogger("diffxpy").setLevel(logging.WARNING)
92-
#
93-
# np.random.seed(1)
94-
# _ = self._test_null_distribution_wald(
95-
# n_cells=n_cells,
96-
# n_genes=n_genes,
97-
# noise_model="nb",
98-
# backend="tf1"
99-
# )
100-
#
101-
# def test_null_distribution_wald_nb_tf2(
102-
# self,
103-
# n_cells: int = 2000,
104-
# n_genes: int = 200
105-
# ):
106-
# """
107-
# Test if wald() generates a uniform p-value distribution for "nb" noise model under tf2 backend
108-
#
109-
# :param n_cells: Number of cells to simulate (number of observations per test).
110-
# :param n_genes: Number of genes to simulate (number of tests).
111-
# """
112-
# logging.getLogger("tensorflow").setLevel(logging.ERROR)
113-
# logging.getLogger("batchglm").setLevel(logging.WARNING)
114-
# logging.getLogger("diffxpy").setLevel(logging.WARNING)
115-
#
116-
# np.random.seed(1)
117-
# _ = self._test_null_distribution_wald(
118-
# n_cells=n_cells,
119-
# n_genes=n_genes,
120-
# noise_model="nb",
121-
# backend="tf2"
122-
# )
123-
12478
def test_null_distribution_wald_nb_numpy(
12579
self,
12680
n_cells: int = 2000,

0 commit comments

Comments
 (0)