Skip to content

Commit

Permalink
Merge pull request #1760 from camptocamp/fix-scikit-image
Browse files Browse the repository at this point in the history
Fix for scikit-image version 0.20
  • Loading branch information
sbrunner authored Mar 13, 2023
2 parents 8d879cd + 32742db commit 0d3795f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c2cwsgiutils/acceptance/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def check_image(
expected[mask == 0] = [255, 255, 255]

score, diff = skimage.metrics.structural_similarity(
expected, image_to_check, multichannel=True, full=True
expected, image_to_check, multichannel=True, full=True, channel_axis=2
)
diff = (255 - diff * 255).astype("uint8")

Expand Down

0 comments on commit 0d3795f

Please sign in to comment.