Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

Commit

Permalink
Merge pull request #7 from jluethi/patch-1
Browse files Browse the repository at this point in the history
Fixing type bug
  • Loading branch information
hackermd authored Apr 5, 2017
2 parents 59235bc + 8940462 commit 52898d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/jtmodules/clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 52898d5

Please sign in to comment.