Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
flake8 correction
Browse files Browse the repository at this point in the history
  • Loading branch information
RRobert92 committed Oct 13, 2021
1 parent 3732eee commit 69b7bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slcpy/utils/trim.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def trim_images(image: np.ndarray,
if np.all(trim_mk[:, :, :] == 0):
idx = idx
else:
if np.min(trim_img) < 0 is True:
if np.min(trim_img) < 0 == True:
trim_img = trim_img + 128

tifffile.imwrite(
Expand Down

0 comments on commit 69b7bb1

Please sign in to comment.