Page 1 of 1

script results

PostPosted: Fri Jan 21, 2011 2:05 am
by jennBakal
so i've been trying returning different types of results from scripts. The support page for scripts says:

The script results can also be handled by Insight, allowing users to view OMERO Images or Datasets created by the script, or download files or images.

i have some questions about how this gets implemented:

1. when i return an image, the activities window displays View, which when clicked displays the image. is there a way to make the image pop up automatically when the script is finished?

2. when i return a dataset, the activities window displays Browse; however, when i click Browse, nothing happens. (similarly, if i try to View the Error or Info from the activities window, nothing happens; i have to download it to access it.) what is the Browse button supposed to do?

3. are there other result types that are supported? where can i find documentation?

thanks,
jenn

Re: script results

PostPosted: Fri Jan 21, 2011 7:50 am
by wmoore
Hi

1) No way to do this at the moment. We'll add it to our list of script workflow improvements and think about how to configure this option.

2) Not sure why this isn't working. I'll test it when I can - (busy upgrading to git just now). Are you able to browse to the new dataset OK when you hit 'refresh' above the tree panel on the left of insight? (Dataset is definately being saved OK?)

3) Sounds like you've seen most of the docs. No other types supported except Dataset, Imgae and File as described http://trac.openmicroscopy.org.uk/omero ... StyleGuide

Cheers,

Will

Re: script results

PostPosted: Fri Jan 21, 2011 1:29 pm
by wmoore
Hi,

I managed to reproduce the problem of returning a Dataset from a script. Ticket is here:
https://trac.openmicroscopy.org.uk/omero/ticket/3545

Will.

Re: script results

PostPosted: Tue Jan 25, 2011 1:43 pm
by jennBakal
thanks. can you tell me what should happen when you click on Browse for the dataset? (does the dataset open in a new window or is it merely brought into focus in the original Insight window?)

thanks again,
jenn

Re: script results

PostPosted: Tue Jan 25, 2011 1:55 pm
by wmoore
The Insight window that you already have open should update to display the referenced Dataset.