Re: Changing/adding values to a re-named results table
Posted by
TimFeinstein on
URL: http://imagej.273.s1.nabble.com/Changing-adding-values-to-a-re-named-results-table-tp5019750p5019758.html
Hi Volko,
I work around that by initializing the Results table with the columns that I want, then I rename it to “ASDF Quant” or whatever. I can then use the Results table for intermediate measurements to assign values to variables that correspond to each column. When I have each variable assigned, I clear Results and rename “ASDF Quant” to “Results” and update each column. Then I rename the table to “ASDF Quant”, save it as a .csv and start another loop. Each loop overwrites the last saved .csv, so if the macro crashes I saved all the data until the crash.
Does that answer what you need?
The macro is pretty long, so I’ll send it to you and anyone who wants to check it out.
Best,
Tim
Timothy Feinstein, Ph.D.
Research Scientist
Department of Developmental Biology
University of Pittsburgh
On 12/11/17, 3:15 AM, "ImageJ Interest Group on behalf of Straub, Volko A. (Dr.)" <
[hidden email] on behalf of
[hidden email]> wrote:
Hi,
Using IJ.renameResults(name) an existing results table can be renamed to give it a more meaningful table (e.g. include the image name in the title). However, once the results table has been re-named, all the result table specific macro functions can't be used anymore (e.g. getResult, setResult, etc) as unlike print functions that can be used to print to a specified text window, result table functions don't appear to have an option to specify the table name. Is this correct or am I missing something?
Thanks,
Volko
--
ImageJ mailing list:
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fimagej.nih.gov%2Fij%2Flist.html&data=01%7C01%7Ctnf8%40pitt.edu%7C2f67bcdc27ee417da3ef08d5406f595a%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1&sdata=HCWgTFFZavXDvsorLi2MFfrVPDOSxm4mBIzs4XH6GpE%3D&reserved=0
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html