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 #3247 (closed)

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

Bug: Table.slice doesn't accept empty/null rowNumbers as per docs

Reported by: jamoore Owned by: jamoore
Priority: major Milestone: OMERO-Beta4.2.1
Component: General Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-11-11 (19)

Description

             * If colNumbers or rowNumbers is empty (or None), then all values
             * will be returned.

but

long[] a = new long[cols.length];
            long[] b = new long[0];
            for (int i = 0; i < cols.length; i++) {
                a[i] = i; 
            }
            
            d = table.slice(a, b);

throws "rows not specified"

Change History (3)

comment:1 Changed 14 years ago by jmoore

  • Owner set to jmoore
  • Status changed from new to assigned

comment:2 Changed 14 years ago by jmoore

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [8525]) Checking for null and empty cols/rows (Fix #3247)

comment:3 Changed 13 years ago by jmoore <josh@…>

(In [b15c99dd2b7194fc37dbac631ecc5022a4097b16/ome.git] on branch dev_4_1_custom) Checking for null and empty cols/rows (Fix #3247)

git-svn-id: file:///home/svn/omero/trunk@8525 05709c45-44f0-0310-885b-81a1db45b4a6

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.66473 sec.)

We're Hiring!