Skip to content

Commit 65419e4

Browse files
committed
decrease tolerance for pipeline big tests
1 parent 240ea04 commit 65419e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def compare_tif(files_list_to_compare: list, file_path_to_references: list):
535535
Image.open(tif_files_references[index])
536536
)
537537
res_norm = np.linalg.norm(res_images.flatten())
538-
assert res_norm < 1e-6
538+
assert res_norm < 1e-4
539539

540540

541541
def change_value_parameters_method_pipeline(

tests/test_pipeline_big.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def test_pipe_FBP3d_tomobar_denoising_i13_177906_preview(
392392

393393
residual_im = data_gt_tv - data_result
394394
res_norm_tv_res = np.linalg.norm(residual_im.flatten()).astype("float32")
395-
assert res_norm_tv_res < 1e-5
395+
assert res_norm_tv_res < 1e-4
396396

397397

398398
# ########################################################################

0 commit comments

Comments
 (0)