[ome-users] OMERO Scripts Plugins
Stephen Taylor
stephen.taylor at imm.ox.ac.uk
Fri May 1 11:44:43 BST 2015
Hi Will,
That's great. Thanks for the tips!
Steve
From: ome-users [mailto:ome-users-bounces at lists.openmicroscopy.org.uk] On Behalf Of William Moore
Sent: 01 May 2015 10:32
To: OME User Support List
Subject: Re: [ome-users] OMERO Scripts Plugins
Hi Stephen,
There are instructions for running scripts from the command line at
https://www.openmicroscopy.org/site/support/omero5.1/developers/scripts/user-guide.html#run-script
I also use the command line to replace scripts after each edit, since I'm editing them in a
different location than bin/omero/scripts.
But if your workflow doesn't need this then that's fine.
One small 'hack' you can use to speed up testing in web is to copy the url of the
script dialog, E.g. http://localhost:4080/webclient/script_ui/10656/?Image=3718
and open a new window / tab and paste this url in, then run the script from here.
Now, since the window.opener is no-longer the web client, the javascript that
closes the script dialog when you run the script will fail and the dialog will stay open.
Then you can simply refresh this window each time you update your script, which
is quite a bit faster than re-opening it from web client each time.
Results will still be shown in the web client if you refresh the Activities panel.
Hope that helps,
Will.
On 1 May 2015, at 10:04, Stephen Taylor <stephen.taylor at imm.ox.ac.uk<mailto:stephen.taylor at imm.ox.ac.uk>> wrote:
Hi,
I am trying to develop a plugin to do a custom export on our OMERO test server.
Is there a recommended strategy for doing this? I am currently doing:
1) Change plugin python code
2) Refresh OMERO web page, and click on "Run scripts" > "Export Scripts" > "Test Export"
3) Go to 1
Which is quite a slow development cycle. It would be nice if I could run the script and pass the parameters to it on the command line somehow...
I am using OMERO.web 5.0.6-ice34-b53.
Thanks for any help!
Steve
_______________________________________________
ome-users mailing list
ome-users at lists.openmicroscopy.org.uk<mailto:ome-users at lists.openmicroscopy.org.uk>
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20150501/392145ef/attachment.html>
More information about the ome-users
mailing list