Re: import results table
Posted by
Massimiliano Baldassarre on
Jul 28, 2010; 9:09pm
URL: http://imagej.273.s1.nabble.com/import-results-table-tp3687456p3687458.html
Hi Wayne,
This is weird, I'm using a Mac with a OS X 10.5.8 may be is OS
related. ( I just double checked it I'm still getting "open (path...)
". Moreover If I try to open my file calling run("Results... ",
"mypath/myfile.txt") it does not work.
In any case thanks a lot for your suggestion, I just changed the
extension from .txt to .xls and it works perfectly.
Max
On Jul 28, 2010, at 1:32 PM, Rasband, Wayne (NIH/NIMH) [E] wrote:
> 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
>