> 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

Reply via email to