Task #3247 (closed)
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 9 years ago by jmoore
- Owner set to jmoore
- Status changed from new to assigned
comment:2 Changed 9 years ago by jmoore
- Remaining Time set to 0
- Resolution set to fixed
- Status changed from assigned to closed
comment:3 Changed 8 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.
(In [8525]) Checking for null and empty cols/rows (Fix #3247)