[ImageJ-devel] Implicit script engine parameters?

Curtis Rueden ctrueden at wisc.edu
Mon Jun 16 16:58:40 CDT 2014


Hi Dscho,

> I should be able to complete that work and release
> scijava-common 2.24.0 before tomorrow morning.

I am hesitant to rush this solution. Would you mind waiting till tomorrow
morning so we can discuss and finalize in person?

Thanks,
Curtis


On Mon, Jun 16, 2014 at 12:26 PM, Johannes Schindelin <schindelin at wisc.edu>
wrote:

> Hi Curtis,
>
> On Mon, 16 Jun 2014, Johannes Schindelin wrote:
>
> > I am facing a problem where I cannot pass macro options properly because
> > the script service insists on handing the task to an individual thread
> > in the thread pool of the thread service, and ImageJ 1.x can therefore
> > no longer see its (home-brewn thread-local) macro options.
> >
> > I fiddled a little with providing an extra input called
> > "ij1.macro.options" but the ScriptModule figures that there is no input
> > called "ij1.macro.options" and therefore the ScriptEngine never sees it.
> >
> > Any thoughts that might help me solve this in a clean way? I really do
> > not want to fudge some pseudo-solution that would "fix" it in the short
> > run...
>
> Thanks for taking the time to chat. And sorry for running off; I will be
> online later in the evening.
>
> The way I plan to address the issue is to special-case
> "org.scijava.scripting.*" values in the input values passed to
> ScriptService#run and add an API to the ScriptModule to get the values of
> these settings. This should be clean and allow all the use cases we came
> up with in our brief chat.
>
> I should be able to complete that work and release scijava-common 2.24.0
> before tomorrow morning.
>
> Sounds good?
>
> Ciao,
> Dscho
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140616/da1bb5e7/attachment.html>


More information about the ImageJ-devel mailing list