# HG changeset patch # User imgteam # Date 1576663241 18000 # Node ID 81f0cbca04a782376ab8e9ab0f521b04b9bf0bc6 # Parent 4853fc2b50bf773f53ecd8e2a8b1c076326e0869 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_threshold/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90" diff -r 4853fc2b50bf -r 81f0cbca04a7 auto_threshold.py --- a/auto_threshold.py Tue Jul 23 05:09:26 2019 -0400 +++ b/auto_threshold.py Wed Dec 18 05:00:41 2019 -0500 @@ -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)