Skip to content

Commit

Permalink
Fix trendline test
Browse files Browse the repository at this point in the history
  • Loading branch information
soupault committed Feb 25, 2020
1 parent 285a9cc commit 5c41bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ def test_intensity_remap_values():
np.testing.assert_array_equal(out, img_expected)

# Mapping has a positive trendline
assert np.diff(out.astype(np.float).ravel()) > 0
assert np.sum(np.diff(out.astype(np.float).ravel())) > 0

# Higher kernel size yields more monotonic mapping
trf_noisy = slt.IntensityRemap(p=1, kernel_size=1)
Expand Down

0 comments on commit 5c41bea

Please sign in to comment.