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/03/10 12:48:31 (14 years ago)
- Author:
-
wmoore
- Comment:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
-
-
Property
Status
changed from
new
to
assigned
-
v3
|
v5
|
|
20 | 20 | * Write script |
21 | 21 | * Make sure all required package imports are available on server |
22 | | * Upload as 'official' script (unique path) |
23 | | * Run script (identify by path) |
| 22 | * Upload as 'official' script: |
| 23 | {{{ scriptService.uploadOfficialScript(scriptPath, scriptText) }}} |
| 24 | |
| 25 | OR |
| 26 | {{{ |
| 27 | dist will$ bin/omero -s localhost -u root script upload ../examples/ScriptingService/HelloWorld.py |
| 28 | }}} |
| 29 | |
| 30 | * Run script (identify by path) |
| 31 | |
| 32 | {{{ scriptIds = [s.id.val for s in scriptService.getScripts() if s.path.val == scriptPath] }}} |
24 | 33 | * If necessary, check recent files under /OMERO/Files/ for any std-out or std-err output generated by the script. |
25 | 34 | |
… |
… |
|
32 | 41 | |
33 | 42 | * Write script |
34 | | * Upload script to server (path not unique) with uploadScript(path, text). Returns ImageID. |
| 43 | * Upload script to server (path not unique) with |
| 44 | {{{ scriptService.uploadScript(scriptPath, scriptText) }}} |
| 45 | Returns ImageID. |
35 | 46 | * |
36 | | * Run script (identified as most recent with specified path). getUserScripts(self, acceptsList, _ctx=None) |
| 47 | * Run script (identified as most recent with specified path). |
| 48 | {{{ scriptService.getUserScripts([]) }}} |
37 | 49 | * Check returned results for std-err (and std-out) |
38 | 50 | * 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.13322 sec.)