Bug #1249 (closed)
Opened 10 years ago
Closed 10 years ago
Image.getPixels in OmeroPy incorrectly uses "get"
| Reported by: | jamoore | Owned by: | jamoore |
|---|---|---|---|
| Priority: | critical | Cc: | |
| Sprint: | n.a. | ||
| Total Remaining Time: | n.a. |
Description
def getPixels(self, index, current = Ice.Current()):
self.errorIfUnloaded()
if not self._pixelsLoaded: self.throwNullCollectionException("pixelsSeq")
return self._pixelsSeq.get(index)
Traceback (most recent call last):
File "OmeroClients/collectionmethods.py", line 58, in <module>
image.getPixels(0)
File "/Users/josh/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero_model_ImageI.py", line 345, in getPixels
return self._pixelsSeq.get(index)
AttributeError: 'list' object has no attribute 'get'
scons: *** [OmeroClients/collectionmethods.py] Error 1
Change History (1)
comment:1 Changed 10 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
r4082