Hello great community!
as part of a very long macro, I try to write the filename of the current analyzed image in a table.
I defined an array to write elements for the table away. works for all the columns except the file name.
the following code:
names[i]= filename; print(names[i]); //prints the correct filename //next does returns NaN for some reason with some filenames... Table.set("Filename", rowcount, names[i]); //this returns the correct filename Table.set("Filename", rowcount, filename);
my workaround is ok but it clutters my Table in case there is no measurement for [i].
it does seem to work for some files and not others. only difference in the file name is the sequence number.
any better ways of doing this?
I use fiji 1.52p on MacOs Mojave