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/24/12 16:55:34 (12 years ago)
- Author:
-
wmoore
- Comment:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
-
- Property Owner changed from jburel to cxallan
- Property Cc wmoore added
-
Property
Component
changed from
Insight
to
Services
-
Property
Summary
changed from
Bug: Split-view of thumbnails missing images
to
Bug: Render with No Active Channels
-
initial
|
v2
|
|
2 | 2 | |
3 | 3 | * OMERO-merge-blue - Build # 157 |
| 4 | |
| 5 | |
| 6 | This is due to the fact that the rendering Engine throws an exception if you turn off all the channels then try to render |
| 7 | |
| 8 | {{{ |
| 9 | i = conn.getObject("Image", 145) |
| 10 | pid = i.getPixelsId() |
| 11 | re = conn.createRenderingEngine() |
| 12 | re.lookupPixels(pid) |
| 13 | re.load() |
| 14 | pd = omero.romio.PlaneDef() |
| 15 | pd.z = 10 |
| 16 | pd.t = 0 |
| 17 | re.renderCompressed(pd) # OK |
| 18 | re.setActive(0, False) # This is a single-channel image |
| 19 | re.renderCompressed(pd) |
| 20 | |
| 21 | File "/Users/will/Desktop/OMERO/dist/lib/python/omero_api_RenderingEngine_ice.py", line 326, in renderCompressed |
| 22 | return _M_omero.api.RenderingEngine._op_renderCompressed.invoke(self, ((_def, ), _ctx)) |
| 23 | omero.ApiUsageException: exception ::omero::ApiUsageException |
| 24 | { |
| 25 | serverStackTrace = ome.conditions.ApiUsageException: No active channel bindings found. |
| 26 | at omeis.providers.re.GreyScaleStrategy.findFirstActiveChannelBinding(GreyScaleStrategy.java:274) |
| 27 | at omeis.providers.re.GreyScaleStrategy.renderAsPackedInt(GreyScaleStrategy.java:131) |
| 28 | at omeis.providers.re.Renderer.renderAsPackedInt(Renderer.java:511) |
| 29 | |
| 30 | }}} |
1.3.13-PRO © 2008-2011
Agilo Software all
rights reserved
(this page was served in: 0.14776 sec.)