comparison imagej2_make_binary_jython_script.py @ 3:711adedc5bb8 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 15:56:56 +0000
parents 0a0d2dfd17e0
children
comparison
equal deleted inserted replaced
2:0a0d2dfd17e0 3:711adedc5bb8
2 2
3 from ij import IJ 3 from ij import IJ
4 4
5 # Fiji Jython interpreter implements Python 2.5 which does not 5 # Fiji Jython interpreter implements Python 2.5 which does not
6 # provide support for argparse. 6 # provide support for argparse.
7 error_log = sys.argv[-8]
8 input = sys.argv[-7] 7 input = sys.argv[-7]
9 iterations = int(sys.argv[-6]) 8 iterations = int(sys.argv[-6])
10 count = int(sys.argv[-5]) 9 count = int(sys.argv[-5])
11 black_background = sys.argv[-4] == "yes" 10 black_background = sys.argv[-4] == "yes"
12 pad_edges_when_eroding = sys.argv[-3] == "yes" 11 pad_edges_when_eroding = sys.argv[-3] == "yes"