# HG changeset patch # User imgteam # Date 1576663226 18000 # Node ID 497dcd834bb3c3359a4d58b535bec53af50bc7bf # Parent c90b91f4a07b0e0def9a004fa506856c08fa5f8f "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_local_threshold/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90" diff -r c90b91f4a07b -r 497dcd834bb3 auto_local_threshold.py --- a/auto_local_threshold.py Tue Jul 23 05:09:04 2019 -0400 +++ b/auto_local_threshold.py Wed Dec 18 05:00:26 2019 -0500 @@ -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