From 2d575b609d6c95a131e471c39c10554b83c41ab9 Mon Sep 17 00:00:00 2001 From: weiglszonja Date: Fri, 12 Aug 2022 16:21:48 +0200 Subject: [PATCH] refactor error msg --- src/roiextractors/testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roiextractors/testing.py b/src/roiextractors/testing.py index b2cb1be5..cf1b9470 100644 --- a/src/roiextractors/testing.py +++ b/src/roiextractors/testing.py @@ -231,7 +231,7 @@ def check_segmentations_images( assert len(images_in_extractor1) == len(images_in_extractor2) image_names_are_equal = all(image_name in images_in_extractor1.keys() for image_name in images_in_extractor2.keys()) - assert image_names_are_equal, "The name of segmentation images in the segmentation extractors are not equal." + assert image_names_are_equal, "The names of segmentation images in the segmentation extractors are not the same." for image_name in images_in_extractor1.keys(): assert_array_equal(