Skip to content

Commit

Permalink
Add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodar01 committed Dec 10, 2024
1 parent a10e433 commit 3ee9522
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/subpackages/core/cellprofiler_core/image/_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ def set_image(self, image, convert=True):
* int8/16/32/64: scale min to max to 0 to 1
* logical: save as is (and get if must_be_binary)
"""
# TODO - 4955: check that this is valid provide_image -> __set_image -> Image() -> set_image
img = numpy.asanyarray(image)
if img.dtype.name == "bool" or not convert:
self.__image = img
Expand Down

0 comments on commit 3ee9522

Please sign in to comment.