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.
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"

Task #4897 (accepted)

Opened 13 years ago

Last modified 13 years ago

Document __getattr__() behaviour — at Version 2

Reported by: wmoore Owned by: wmoore
Priority: minor Milestone: OMERO-Beta4.3
Component: General Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 1.0d
Sprint: 2011-04-07 (9)

Description (last modified by wmoore)

Write tests for BlitzObjectWrapper?.getattr() and document behaviour of accessing underlying ._obj methods.

E.g. printing out the results of method calls on imageWrapper:

    id 4210
    getId() 4210

    name weblitz_test_priv_image
    getName() weblitz_test_priv_image

    acquisitionDate 1300917102000
    getAcquisitionDate() <class 'omero.rtypes.RTimeI'>

    archived False
    getArchived() <class 'omero.rtypes.RBoolI'>

    format <class 'omero.model.FormatI'>
    getFormat() <class 'omero.model.FormatI'>

    instrument <class 'omero.model.InstrumentI'>
    getInstrument() <_InstrumentWrapper id=706>

    pixelsLoaded True
    getPrimaryPixels() <class 'omero.model.PixelsI'>

Change History (2)

comment:1 Changed 13 years ago by wmoore

  • Status changed from new to accepted

comment:2 Changed 13 years ago by wmoore

  • Description modified (diff)
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.67591 sec.)

We're Hiring!