On Aug 18, 2014, at 9:54 AM, Pierre1981 wrote:
> Hello,
>
> I encounter a different behavior with ImageJ 1.48 and Fiji latest update
> when reading text files:
>
> **************************
> Two_column_array = File.openAsString("myfilename.txt");
>
> rows=split(Two_column_array, "\n");
>
> print(rows.length);
>
> }
> **************************
>
> With ImageJ 1.48 I get "n" (which is the right answer) and with ImageJ2 I
> get "n+1", from the exact same file, which is quite a problem if you want to
> use this information in a loop or other...
>
> Anyone for a fix?
> Thanks in advance!
This ImageJ 1.49e regression is fixed in v1.49f.
-wayne
> Kind regards,
> Pierre
>
> --
> View this message in context:
http://imagej.1557.x6.nabble.com/ImageJ2-size-issue-with-File-openAsString-tp5009253.html> Sent from the ImageJ mailing list archive at Nabble.com.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html