Thanks Wayne for this super-fast bug-fix! Best regards, Norbert
On 2. Apr 2024, at 20:00, Wayne Rasband <[email protected]> wrote: > On Apr 2, 2024, at 9:13 AM, Norbert Vischer <[email protected]> wrote: > > Hello all (Wayne?) > > I want to use table columns for string flags, but I get the following problem: > When I save and reload the table, empty fields after the last flag are filled > with"NaN". > Explicitly setting fields to empty strings before saving does not help. Hi Norbert, This bug is fixed in the ImageJ 1.54j13 daily build. -wayne > tabName = "Test.csv"; > Table.create(tabName); > ColA = newArray(10); > Table.setColumn("Nums", ColA, tabName); > Table.setColumn("Flags", newArray(0), tabName); > Table.set("Flags", 4, "ABC", tabName); > Table.update(tabName); > dir = getDir("temp"); > Table.save(dir + tabName, tabName); > waitForUser; > open(dir + tabName); > > /* output: > 0 > 0 > 0 > 0 > 0 ABC > 0 NaN > 0 NaN > 0 NaN > 0 NaN > 0 NaN > */ > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html
