Commit 75a244c
Support implicit input parameters in modules
It is sometimes important to support parameters that have not been
specified explicitly by the module, e.g. in ImageJ 1.x macros, where we
need to be able to set the macro options as an engine-specific setting
because the SciJava script service runs scripts on threads different
from the caller's and ImageJ 1.x cannot handle that properly without
some handholding.
This change introduces a special class of settings: input map
entries whose key starts with a dot (e.g. .macroOptions) are considered
implicit, i.e. no errors about "no such parameter" will be produced.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent d91ed2f commit 75a244c
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
350 | 353 | | |
351 | 354 | | |
352 | 355 | | |
| |||
0 commit comments