Skip to content

Commit

Permalink
refactor error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
weiglszonja committed Aug 12, 2022
1 parent d9f3117 commit 2d575b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/roiextractors/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2d575b6

Please sign in to comment.