Login  Register

Re: script parameter for popup menu

Posted by ctrueden on Apr 26, 2016; 5:32pm
URL: http://imagej.273.s1.nabble.com/script-parameter-for-popup-menu-tp5015936p5016239.html

Hi Jon,

> I think the following will eventually work (there might be a bug right
now)
>
> # @String(label="typer", choices=["a","b"]) test

Just wanted to quickly note that as of the new release of ImageJ2 a couple
of weeks ago, the above should work!

At the moment, any of parentheses, square brackets or curly braces will
work for the grouping, though it may be most future-proof to use curly
braces.

Regards,
Curtis

--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej.net/


On Fri, Mar 18, 2016 at 11:19 AM, Brian Northan <[hidden email]> wrote:

> Hi Jon
>
> I think the following will eventually work (there might be a bug right now)
>
> # @String(label="typer", choices=["a","b"]) test
>
> On Fri, Mar 18, 2016 at 11:59 AM, JonNathan <
> [hidden email]> wrote:
>
> > Sorry, I should have added that I want to do this using Fiji's script
> > editor
> > with a Jython script.
> >
> > Jon
> >
> >
> >
> > --
> > View this message in context:
> >
> http://imagej.1557.x6.nabble.com/script-parameter-for-popup-menu-tp5015936p5015941.html
> > Sent from the ImageJ mailing list archive at Nabble.com.
> >
> > --
> > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> >
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html