From 36c00726ba8d02817b462d2688ba912d15f17246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Haitz=20Legarreta=20Gorro=C3=B1o?= Date: Thu, 11 Apr 2024 20:44:28 -0400 Subject: [PATCH] ENH: Fix random seed in registration test Fix random seed in registration test for the sake of reproducibility. --- test/test_estimator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_estimator.py b/test/test_estimator.py index 5b3da6a9..c9024cfa 100644 --- a/test/test_estimator.py +++ b/test/test_estimator.py @@ -66,6 +66,7 @@ def test_ANTs_config_b0(datadir, tmp_path, r_x, r_y, r_z, t_x, t_y, t_z): ), fixed_image=str(fixed.absolute()), moving_image=str(moving.absolute()), + random_seed=1234, ) result = registration.run(cwd=str(tmp_path)).outputs