# HG changeset patch # User imgteam # Date 1576662910 0 # Node ID d070576c6286f8f67b984fa91f9e79ea8bb1cd4d # Parent f03398bea2819c2a371a825b7cccdf4f698ca1d6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_local_threshold/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90" diff -r f03398bea281 -r d070576c6286 auto_local_threshold.py --- a/auto_local_threshold.py Tue Jul 23 05:08:18 2019 -0400 +++ b/auto_local_threshold.py Wed Dec 18 09:55:10 2019 +0000 @@ -24,7 +24,7 @@ img_in = np.reshape(img_in, [img_in.shape[0], img_in.shape[1]]) thresh = threshOptions[args.thresh_type](img_in, args.block_size) - if args.dark_background: + if args.dark_background: res = img_in > thresh else: res = img_in <= thresh