changeset 2:497dcd834bb3 draft

"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_local_threshold/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90"
author imgteam
date Wed, 18 Dec 2019 05:00:26 -0500
parents c90b91f4a07b
children be2d3ce89c0f
files auto_local_threshold.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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