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.

Changes between Initial Version and Version 2 of Ticket #9974


Ignore:
Timestamp:
12/03/12 11:55:18 (11 years ago)
Author:
spli
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9974

    • Property Owner set to spli
    • Property References changed from #9944 to
  • Ticket #9974 – Description

    initial v2  
    22 
    33stop=0 is currently treated as a special case, eg: 
    4 read(start=0, stop=0) returns row 0 
    5 read(start=i, stop=0) returns row i 
    6 read(start=i, stop=i) returns no rows 
    7 read(start=i, stop=i+n) returns rows[i..i+n-1] 
     4*read(start=0, stop=0) returns row 0 
     5*read(start=i, stop=0) returns row i 
     6*read(start=i, stop=i) returns no rows 
     7*read(start=i, stop=i+n) returns rows[i..i+n-1] 
    88 
    99The apparent intention is to replicate the underlying behaviour of PyTables which uses stop=None to indicate one row should be returned. However, in OMERO.tables stop=0 is treated as stop=None which breaks the standard way of specifying Python ranges. 

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

We're Hiring!