From 73dfc4e55e067ed21757055a0e97b5d188f7ce21 Mon Sep 17 00:00:00 2001
From: dcarron <daniel.carron@idiap.ch>
Date: Thu, 13 Jun 2024 13:18:48 +0200
Subject: [PATCH] [segmentation.tests] Adjust threshold for montgomery
 histogram comparison

---
 src/mednet/libs/segmentation/tests/test_montgomery.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mednet/libs/segmentation/tests/test_montgomery.py b/src/mednet/libs/segmentation/tests/test_montgomery.py
index 2f90200f..97d30147 100644
--- a/src/mednet/libs/segmentation/tests/test_montgomery.py
+++ b/src/mednet/libs/segmentation/tests/test_montgomery.py
@@ -130,5 +130,5 @@ def test_model_transforms_image_quality(database_checkers, datadir, model_name):
         datamodule,
         reference_histogram_file,
         compare_type="statistical",
-        pearson_coeff_threshold=0.005,
+        pearson_coeff_threshold=0.5,
     )
-- 
GitLab