Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

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.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.70831 sec.)

We're Hiring!