# HG changeset patch # User imgteam # Date 1576662934 0 # Node ID f40e5d11eb47fe45e52e86f50b71508013e7ee7b # Parent 7f2962f619e3f886c731d9dfb022c365b378d7b2 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90" diff -r 7f2962f619e3 -r f40e5d11eb47 auto_threshold.py --- a/auto_threshold.py Tue Jul 23 05:08:42 2019 -0400 +++ b/auto_threshold.py Wed Dec 18 09:55:34 2019 +0000 @@ -28,7 +28,7 @@ if args.dark_background: res = img_in > thresh - else: + else: res = img_in <= thresh res = skimage.util.img_as_uint(res)