-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Results: cant output PDF results in a macro without user interaction to click ok. #34
Comments
@chalkie666 - just a general question... what was the original rationale for exporting the data as a single PDF file? |
Hi To try and make it a single robust sharable chunk of data that's ready to Actually now I think HTML or XML plus images and histograms as png might be Has to scale for use in batch mode
|
as opposed to the log window... is it possible to display datasets in a results window? would then be more clear the slices and associate datasets, etc. these results are then easily transferred to .xls files. this type of output may be more useful for users in the end... ?? See Issue #45 |
FWIW, there is an example here that generates an ImageJ2-style results table and displays it. So what you propose is certainly doable, @etarena. (As an aside though, that example is a little bit moldy and could do with some updating... but the results table part is still pretty much right on.) See Issue #45 |
Indeed we should use the imagej2 results window not the log window. That Here I need to figure out how to set the path for writing the PDF or So.it is a input gui v2 thing really. Not results.... I will change the On 12 Aug 2015 17:40, "Curtis Rueden" [email protected] wrote:
|
Can't edit the issuebtitle in the pesky mobile version of the Github site... Sctuallybits very usable from a smartphone. @ctrueden where do I see an example of a minimal plugin gui imagej2 style.? |
And I can't edit my typos either!!!! |
@chalkie666 You can check out the widget-demo tutorial for an illustration of a rather involved GUI that does not need to use Note that the parameter mechanism does have certain limitations, and is no substitute for a fully fleshed out UI written in Swing. But for exposing function parameters in a UI-agnostic way, it is a big step in the right direction. |
@ctrueden My main worry is to make sure aby new input / setup gyu for the plugin is Should I forget about IJ1 macro lang, and concentrate on making sure python Is there still fun with building a parameters string for ij2 plugins to be To see how it works, Can you suggest a fully imagej2 plugin I can try to
|
If you use As for longer term, the goal is to reduce the nastiness of the parameter string being generated, yeah. But that's in the future, still. It will fundamentally be doable though (e.g., we won't have problems with arguments that contain both spaces and square brackets being impossible to use). |
@ctrueden But then these all pop up in a window to ask user for parameters? What if you want to programmatically code the input parameters in the What's the right way to implement the gui so its recordable in ij2 and will
|
Using When you do it this way, and execute the command/script in the ImageJ UI, it will pop the dialog. But if you execute it via a call to You can call the command/script from other tools besides ImageJ as well, such as KNIME and OMERO and CellProfiler. Each of those will harvest the parameter values in its own way. You can run the thing headless—usually this is done by running a script which passes the parameter values you want. This can certainly be in a loop over all files in a directory, for example. |
Basically, all that's missing is a better and more modern "Script Recorder" that integrates with all script language plugins properly to record these command/script executions, producing a proper line of code that does not suffer from the shortcomings of the IJ1 macro language approach. It's planned. |
OK. That's very cool!
|
I just encountered the same issue as i want to use Coloc2 in headless batch mode, It would be really great if there were an option just to pass on a filename and then For the actual values, i use a modified version of the groovy script described at image.sc Would that be a lot of effort? Thanks a lot & |
Ping @chalkie666 @etadobson for support. 😄 (Aside: you two are currently listed with |
Running as macro need a method / GUI parameter to make the PDF file output saved without user interaction, since right now OK must be clicked... not sure how to work around that.
The text was updated successfully, but these errors were encountered: