diff --git a/src/python/jtmodules/clip.py b/src/python/jtmodules/clip.py index 58605eb..16e96dc 100644 --- a/src/python/jtmodules/clip.py +++ b/src/python/jtmodules/clip.py @@ -56,7 +56,7 @@ def main(image, clipping_mask, plot=False): if plot: from jtlib import plotting - if image.dtype.startswith('uint'): + if str(image.dtype).startswith('uint'): plots = [ plotting.create_intensity_image_plot( image, 'ul', clip=True