Login  Register

Re: import results table

Posted by Rasband, Wayne (NIH/NIMH) [E] on Jul 28, 2010; 5:32pm
URL: http://imagej.273.s1.nabble.com/import-results-table-tp3687456p3687457.html

On Jul 28, 2010, at 10:16 AM, Massimiliano Baldassarre wrote:

> Hi guys,
>
> I just updated my ImageJ to the 1.44d and I'm trying to import a  
> previous saved results table. I use the File  > Import > Results...  
> menu and works just fine, but when I tried to record this command in a  
> macro the recorder give me " open ("path/my file.txt) "  and if I use  
> this in a macro (obviously) it just open the text file.
>
> Off course I can import the results writing another marco (or  
> function, I think there are already few out there) but I'm pretty sure  
> that I used this command in older macros so I would like to know if it  
> is just a bug in the new release. Any one have any advice.

I am unable to reproduce this problem. I get

   run("Results... ", "open=/Users/wayne/Results.txt");

when I record File>Import>Results in ImageJ 1.44d. One work around would be to save tables using an ".xls" (tab-delimited text) or .csv (comma separated values) extension, in which case the open() function will open the file in the Results table. You can make either of these extensions the default in the Edit>Options>Input/Output dialog box.

-wayne