Ticket #1601 (closed task: moved)
Opened 2012-12-11T11:39:09-06:00
Last modified 2013-06-07T16:13:04-05:00
Table API change: require unique column headers
Reported by: | bdezonia | Owned by: | curtis |
---|---|---|---|
Priority: | major | Milestone: | imagej2-b8-analysis |
Component: | Core | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #1519 |
Description
In IJ1 the ResultsTable API deprecates accessing arbitrary cell values by (col,row). All data access is meant to work by (columnName,row).
Currently IJ2 allows unnamed columns (or even two columns with the same name). We should change the table API to allow them to index via column name rather than column number. And we should put in checks so that setting column headers only allows unique column names (they could default to "1", "2", "3", etc.).
These changes would allow us to simplify the code in ResultsTableHarmonizer and also make it more correct.