[ImageJ-devel] default value for @parameter in Jython scripts

Brian Northan bnorthan at gmail.com
Thu May 7 06:51:13 CDT 2015


Hi

I saw that Mark recently answered some questions about and updated the
documentation for script parameters (
http://imagej.net/Script_parameters#Parameter_properties)

This is really helpful.  However I still can't figure out how to set a
default value for a parameter in Jython

# @Integer test=10

Just makes the label of the parameter "test=10", I looked at the Parameter
notation but couldn't find a property for default value.

Any suggestions??  I'm probably just missing something simple.

Thanks

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20150507/89c4302e/attachment.html>


More information about the ImageJ-devel mailing list