Skip to content, Skip to search

Changes

Script Parameters

192 bytes added, 02:50, 4 December 2017
m
Add warning for persistence across scripts
=== Persistence ===
Per default, variable values are persisted between runs of a script. This means that parameter values from a previous run are used as starting value. Please note that a persisted value will overwrite a defined [[#Default value|default value]].
<source lang="python">
#@Integer(label="An integer!",value=15,persist=false) someInt
</source>
 
[[Warning | Currently, "two scripts which declare the same parameter name, even with different types, will stomp each other." See [https://github.com/scijava/scijava-common/issues/193].]]
=== Multiple Choice ===
160
edits