Mercurial > repos > imgteam > imagej2_analyze_particles_binary
comparison imagej2_make_binary_jython_script.py @ 3:862af85a50ec 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:13:47 +0000 |
parents | ae4ae9c5c56c |
children |
comparison
equal
deleted
inserted
replaced
2:ae4ae9c5c56c | 3:862af85a50ec |
---|---|
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" |