Skip to content

Commit 46d75be

Browse files
committed
fixing zenodo tests
1 parent d34f70d commit 46d75be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zenodo-tests/test_recon/test_algorithm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def test_reconstruct_FBP3d_tomobar_i12_dataset1_autopad(i12_dataset1: tuple):
125125
)
126126
assert recon_data.flags.c_contiguous
127127
recon_data = recon_data.get()
128-
assert_allclose(np.sum(recon_data), 6669.1274, rtol=1e-07, atol=1e-6)
128+
assert_allclose(np.sum(recon_data), 7208.2295, rtol=1e-07, atol=1e-6)
129129
assert recon_data.dtype == np.float32
130130
assert recon_data.shape == (2560, 5, 2560)
131131

@@ -517,6 +517,6 @@ def test_reconstruct_FISTA3d_tomobar_autopad_k11_dataset2(k11_dataset2: tuple):
517517
)
518518
assert recon_data.flags.c_contiguous
519519
recon_data = recon_data.get()
520-
assert isclose(np.sum(recon_data), 1518.5251, abs_tol=10**-3)
520+
assert isclose(np.sum(recon_data), 1355.4624, abs_tol=10**-3)
521521
assert recon_data.dtype == np.float32
522522
assert recon_data.shape == (2560, 5, 2560)

0 commit comments

Comments
 (0)