diff imagej2_find_maxima_jython_script.py @ 3:5f5b7185bc16 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/image_processing/imagej2 commit 8f49f3c66b5a1de99ec15e65c2519a56792f1d56
author imgteam
date Wed, 25 Sep 2024 16:14:34 +0000
parents 49b5288dcd8c
children
line wrap: on
line diff
--- a/imagej2_find_maxima_jython_script.py	Sun Nov 05 14:26:52 2023 +0000
+++ b/imagej2_find_maxima_jython_script.py	Wed Sep 25 16:14:34 2024 +0000
@@ -6,7 +6,6 @@
 
 # Fiji Jython interpreter implements Python 2.5 which does not
 # provide support for argparse.
-error_log = sys.argv[-10]
 input_file = sys.argv[-9]
 scale_when_converting = sys.argv[-8] == "yes"
 weighted_rgb_conversions = sys.argv[-7] == "yes"
@@ -35,7 +34,7 @@
     if weighted_rgb_conversions:
         options.append("weighted")
 # Perform conversion - must happen even if no options are set.
-IJ.run(input_image_plus_copy, "Conversions...", "%s" % " ".join(options))
+IJ.run(input_image_plus_copy, "Conversions...", " %s" % " ".join(options))
 if output_type in ["List", "Count"]:
     # W're  generating a tabular file for the output.
     # Set the Find Maxima options.