comparison imagej2_binary_to_edm_jython_script.py @ 3:d426c25946d4 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:11:17 +0000
parents d7fbe9662213
children
comparison
equal deleted inserted replaced
2:d7fbe9662213 3:d426c25946d4
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_file = sys.argv[-7] 7 input_file = 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"