Task #2832 (closed)
Opened 14 years ago
Closed 14 years ago
Bug: Combine_Images.py is not Python 2.4 compatible
Reported by: | jamoore | Owned by: | cblackburn |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.2.1 |
Component: | Scripting | Version: | n.a. |
Keywords: | n.a. | Cc: | wmoore, jburel |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2010-09-09 (16) |
Description
Combine_Images.py contains the try/except/finally block:
try: session = client.getSession() # process the list of args above. parameterMap = {} for key in client.getInputKeys(): if client.getInput(key): parameterMap[key] = client.getInput(key).getValue() print parameterMap # create the combined image image = combineImages(session, parameterMap) if image: client.setOutput("Message", rstring("Script Ran OK. New Image created ID: %s" % image.id.val)) client.setOutput("Combined_Image",robject(image)) else: print "No image created." except: raise finally: client.closeSession() printDuration()
which is not valid Python 2.4 syntax.
Change History (6)
comment:1 Changed 14 years ago by wmoore
comment:2 Changed 14 years ago by jmoore
- Remaining Time set to 0.1
comment:3 Changed 14 years ago by atarkowska
- Sprint set to 2010-09-09 (16)
comment:4 Changed 14 years ago by jmoore
comment:5 Changed 14 years ago by jburel
- Owner set to cblackburn
comment:6 Changed 14 years ago by cblackburn
- Remaining Time changed from 0.1 to 0
- Resolution set to fixed
- Status changed from new to closed
[8138] Fixes
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
http://www.devx.com/webdev/Article/33005/1763/page/2