Task #2335 (closed)
Opened 14 years ago
Closed 14 years ago
Scripting demo movies
Reported by: | wmoore | Owned by: | wmoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.2 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2010-05-27 (10) |
Description (last modified by wmoore)
Scripting Service overview / use / writing style
http://users.openmicroscopy.org.uk/~wmoore/movies/4.2/Scripting1.mov
- Idea is that you can add functionality to the server
- Image processing happens on the server
- Trusted vv User scripts (see other movies)
- Scripts menu -> choose...
- Combine_Images.py
- Can download/view script
- Show UI vv Parameter definitions.
- Script naming convention and script description
- Parameter types, description, defaults, min, max, options, optional
- Fill in parameters and Run the script
- Show Activities panel.
- Roi_Movie_Figure.py (maybe)
User Script-writing Movie
http://users.openmicroscopy.org.uk/~wmoore/movies/4.2/Scripting2.mov
- Intro to Scripting Guide pages and links to API, examples etc.
- Use Insight to connect
- Download server cd dist
- Mention Ice (show .profile)
- Start user processor: bin/omero -s host -u will script serve user
- Download Add_Description.py
- Upload to server bin/omero -s localhost -u demo script upload ../examples/ScriptingService/Edit_Descriptions.py
- List scripts bin/omero -s localhost -u root script list user
- Run script bin/omero -s localhost -u root script launch file=22 Dataset_ID=1
- Edit script print image.name.val
- Replace bin/omero -s localhost -u root script replace 23 script.py
- In Insight...
- Run script
- This script is available to other users in my collaborative group, but they need their own user processor.
Admin workflow
- Scripts will run directly on the server
- Available to all users and groups
- Scripting Guide pages...
- Scripting service API / adminWorkflow.py - can edit
- Download adminWorkflow.py to 'scripts' folder at root of /omero/util_scripts/ etc.
- Download EMAN2/Boxer.py script - upload
- Run from Insight.
Change History (15)
comment:1 Changed 14 years ago by wmoore
- Description modified (diff)
comment:2 Changed 14 years ago by wmoore
- Description modified (diff)
comment:3 Changed 14 years ago by wmoore
- Owner set to wmoore
comment:4 Changed 14 years ago by wmoore
- Status changed from new to assigned
comment:5 Changed 14 years ago by wmoore
comment:6 Changed 14 years ago by wmoore
- Description modified (diff)
comment:7 Changed 14 years ago by jmoore
- Sprint changed from 2010-04-30 (8) to 2010-05-13 (9)
comment:8 Changed 14 years ago by wmoore
- Description modified (diff)
- Summary changed from User scripting demo movie to Scripting demo movies
comment:9 Changed 14 years ago by wmoore
- Description modified (diff)
comment:10 Changed 14 years ago by wmoore
comment:10 Changed 14 years ago by wmoore
comment:11 Changed 14 years ago by wmoore
- Description modified (diff)
comment:12 Changed 14 years ago by cxallan
- Sprint changed from 2010-05-13 (9) to 2010-05-27 (10)
comment:14 Changed 14 years ago by wmoore
- Description modified (diff)
comment:15 Changed 14 years ago by wmoore
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [6888]) Example script for demo movie. See #2335