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.

Changes between Version 3 and Version 5 of Ticket #2306


Ignore:
Timestamp:
05/03/10 12:48:31 (14 years ago)
Author:
wmoore
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2306

    • Property Status changed from new to assigned
  • Ticket #2306 – Description

    v3 v5  
    2020 * Write script 
    2121 * 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 
     25OR  
     26{{{ 
     27dist 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] }}} 
    2433 * If necessary, check recent files under /OMERO/Files/ for any std-out or std-err output generated by the script. 
    2534  
     
    3241 
    3342 * 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) }}} 
     45Returns ImageID.  
    3546 *  
    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([]) }}} 
    3749 * Check returned results for std-err (and std-out) 
    3850 * 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.)

We're Hiring!