I have some questions related to this post.
First, thanks a lot to @dgault for pointing to the correct usage of the ImporterOptions.
However, when using a similar script as @CellKai (see post-link above), I had troubles with the
Using the Strings described in the ImporterOptions (key and possible values) did not work, i.e. following line:
while either of the next lines did the job:
- Is there a specific reason why the String
- Or is there an alternative way to create the options directly from Key-Value pairs defined by the ImporterOptions? E.g. something like that:
options = [ImporterOptions.KEY_COLOR_MODE: ImporterOptions.COLOR_MODE_COMPOSITE, ImporterOptions.KEY_AUTOSCALE: false] IJ.runPlugIn("loci.plugins.LociImporter", options)
- Is there a specific order in which the options should be stated?
Thank a lot for your input!