omero.plugins.script module

script plugin

Plugin read by omero.cli.Cli during initialization. The method(s) defined here will be added to the Cli class for later use.

The script plugin is used to run arbitrary blitz scripts which take as their sole input Ice configuration arguments, including –Ice.Config=file1,file2.

The first parameter, the script itself, should be natively executable on a given platform i.e. invokable by subprocess.call([file,…])

class plugins.script.ScriptControl(*args: Any, **kwargs: Any)[source]

Bases: BaseControl

cat(args)[source]
delete(args)[source]
demo(args)[source]
disable(args)[source]
edit(args)[source]
enable(args)[source]
foreground_nix(impl, timeout)[source]

Use signal.SIGALRM to wait for the timeout to signal

foreground_win(impl, timeout)[source]

Note: currently simply fails. An implementation might be possible using msvcrt. See: http://stackoverflow.com/questions/3471461/raw-input-and-timeout/3911560

help(args)[source]
jobs(args)[source]
launch(args)[source]
list(args)[source]
log(args)[source]
params(args)[source]
replace(args)[source]
run(args)[source]
serve(args)[source]
setmimetype(args)[source]
upload(args)[source]