File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ def test_wsi_segmentor_zarr(
237237 )
238238
239239 output_ = zarr .open (output [sample_svs ], mode = "r" )
240- assert 0.16 < np .mean (output_ ["predictions" ][:]) < 0.17
240+ assert 0.17 < np .mean (output_ ["predictions" ][:]) < 0.19
241241 assert "probabilities" not in output_
242242
243243 # Return Probabilities is True
@@ -253,12 +253,12 @@ def test_wsi_segmentor_zarr(
253253 )
254254
255255 output_ = zarr .open (output [sample_svs ], mode = "r" )
256- assert 0.16 < np .mean (output_ ["predictions" ][:]) < 0.17
257- assert 0.49 < np .mean (output_ ["probabilities" ][:]) < 0.51
256+ assert 0.17 < np .mean (output_ ["predictions" ][:]) < 0.19
257+ assert 0.48 < np .mean (output_ ["probabilities" ][:]) < 0.52
258258
259259 output_ = zarr .open (output [wsi_with_artifacts ], mode = "r" )
260- assert 0.38 < np .mean (output_ ["predictions" ][:]) < 0.39
261- assert 0.49 < np .mean (output_ ["probabilities" ][:]) < 0.51
260+ assert 0.40 < np .mean (output_ ["predictions" ][:]) < 0.41
261+ assert 0.48 < np .mean (output_ ["probabilities" ][:]) < 0.52
262262
263263
264264def test_wsi_segmentor_annotationstore (sample_svs : Path , tmp_path : Path ) -> None :
You can’t perform that action at this time.
0 commit comments