Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
- Timestamp:
-
05/02/10 22:26:20 (14 years ago)
- Author:
-
wmoore
- Comment:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v2
|
v3
|
|
3 | 3 | |
4 | 4 | == Intro == |
| 5 | |
| 6 | === Life-cycle of a script === |
| 7 | * Script is written |
| 8 | * Script uploaded to server |
| 9 | * Script is parsed by a Processor running on the server or another machine |
| 10 | * Client searches for the script by name |
| 11 | * Client retrieves script parameter details from server |
| 12 | * User enters parameter values - parsed to server to run script |
| 13 | * Script runs... |
5 | 14 | |
6 | 15 | If you are planning to spend a significant amount of time developing scripts to run on an OMERO server, you may find it worthwhile to install an instance of the server on your own machine. This will give you to test scripts under 'user' or 'admin' privileges, and allow you direct access to the various files generated on the server by the scripting service. |
… |
… |
|
19 | 28 | If you are using a server for which you do not have admin access, you must upload scripts as 'user' scripts, which are not trusted to run on the server machine. The OMERO scripting service will still execute these scripts in a similar manner to official 'trusted' scripts but 'behind the scenes' it uses the client machine to execute the script. This means that any package imports required by the script should be available on the client machine. |
20 | 29 | |
| 30 | Before running the script, the Processor on which the script will run will have to be started (by the server admin?). However, the script can be uploaded before the user-processor is running. In this case the script will not be validated, parameters determined etc. |
| 31 | |
| 32 | |
21 | 33 | * Write script |
22 | | * Upload script to server (path not unique) |
23 | | * Run script (identified as most recent with specified path) |
| 34 | * Upload script to server (path not unique) with uploadScript(path, text). Returns ImageID. |
| 35 | * |
| 36 | * Run script (identified as most recent with specified path). getUserScripts(self, acceptsList, _ctx=None) |
24 | 37 | * Check returned results for std-err (and std-out) |
25 | 38 | * Retrieve any std-err and std-out files from the server |
1.3.13-PRO © 2008-2011
Agilo Software all
rights reserved
(this page was served in: 0.13491 sec.)