We're Hiring!

script results

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

script results

Postby jennBakal » Fri Jan 21, 2011 2:05 am

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
jennBakal
 
Posts: 18
Joined: Fri Dec 10, 2010 4:45 am

Re: script results

Postby wmoore » Fri Jan 21, 2011 7:50 am

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
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Re: script results

Postby wmoore » Fri Jan 21, 2011 1:29 pm

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.
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Re: script results

Postby jennBakal » Tue Jan 25, 2011 1:43 pm

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
jennBakal
 
Posts: 18
Joined: Fri Dec 10, 2010 4:45 am

Re: script results

Postby wmoore » Tue Jan 25, 2011 1:55 pm

The Insight window that you already have open should update to display the referenced Dataset.
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm


Return to Developer Discussion

Who is online

Users browsing this forum: Google [Bot] and 0 guests