From af80d5aa20d7ad66645cbee85587ec0dca1d4327 Mon Sep 17 00:00:00 2001 From: Stephen Fleming Date: Fri, 25 Aug 2023 17:58:03 -0400 Subject: [PATCH] Fix test error on Windows --- cellbender/remove_background/tests/test_posterior.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cellbender/remove_background/tests/test_posterior.py b/cellbender/remove_background/tests/test_posterior.py index b47a410..04b766e 100644 --- a/cellbender/remove_background/tests/test_posterior.py +++ b/cellbender/remove_background/tests/test_posterior.py @@ -396,7 +396,7 @@ def test_save_and_load(tmpdir_factory, blank_noise_offsets, m): if blank_noise_offsets: noise_offsets = {} else: - noise_offsets = dict(zip(np.random.randint(low=0, high=(m - 1), size=10), + noise_offsets = dict(zip(np.random.randint(low=0, high=(m - 1), size=10, dtype=np.uint64), np.random.randint(low=1, high=5, size=10))) kwargs = {'a': 'b', 'c': 1} kwargs2 = {'a': 'method', 'c': 1}