Problem with Script window in Fiji

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with Script window in Fiji

CARL Philippe (LBP)
Dear all / Johannes,

Please consider the following macro :

 

/*

[hidden email]

*/

print("Hello");

 

When this macro is launched within the Script window of Fiji (the macro is
working well when using the vanilla ImageJ) it will give an error message
since the E-mail address will be kind of recognized by the editor and this
even if it is put between the /*  */ markers.

My best regards,

Philippe

 

Philippe CARL

Laboratoire de Biophotonique et Pharmacologie

UMR 7213 CNRS - Université de Strasbourg

Faculté de Pharmacie

74 route du Rhin

67401 ILLKIRCH

Tel : +33(0)3 68 85 41 84

 


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Script window in Fiji

ctrueden
Hi Phillippe,

> When this macro is launched within the Script window of Fiji (the
> macro is working well when using the vanilla ImageJ) it will give
> an error message since the E-mail address will be kind of recognized
> by the editor and this even if it is put between the /*  */ markers.

This bug was due to the scripting framework's handling of input & output
parameters.

Fixed here:
https://github.com/scijava/scijava-common/commit/dcff0c750d771c9606e2b7b8cad0b960f94a0ffa

Will be uploaded to the ImageJ Updater within a few more days, most likely.
In the meantime, you can work around the bug by putting a line in the
comment before the email address, which does not contain an '@' character.

Thanks for the report!

Regards,
Curtis


On Tue, Jul 8, 2014 at 5:12 AM, Philippe CARL <[hidden email]>
wrote:

> Dear all / Johannes,
>
> Please consider the following macro :
>
>
>
> /*
>
> [hidden email]
>
> */
>
> print("Hello");
>
>
>
> When this macro is launched within the Script window of Fiji (the macro is
> working well when using the vanilla ImageJ) it will give an error message
> since the E-mail address will be kind of recognized by the editor and this
> even if it is put between the /*  */ markers.
>
> My best regards,
>
> Philippe
>
>
>
> Philippe CARL
>
> Laboratoire de Biophotonique et Pharmacologie
>
> UMR 7213 CNRS - Université de Strasbourg
>
> Faculté de Pharmacie
>
> 74 route du Rhin
>
> 67401 ILLKIRCH
>
> Tel : +33(0)3 68 85 41 84
>
>
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html