Mercurial > repos > imgteam > imagej2_create_image
comparison imagej2_binary_to_edm_jython_script.py @ 3:69e28b06e027 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:08 +0000 |
parents | 666af1279007 |
children |
comparison
equal
deleted
inserted
replaced
2:666af1279007 | 3:69e28b06e027 |
---|---|
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" |