Bug with ImageJ macro setBatchMode(true) after update
Posted by
LIM Soon Yew John (IMB) on
Aug 05, 2013; 11:55am
URL: http://imagej.273.s1.nabble.com/Bug-with-ImageJ-macro-setBatchMode-true-after-update-tp5004301.html
Dear All,
I encounter a bug with ImageJ macro setBatchMode(true) after I ran an update today on my 32bit Fiji to 1.48a.
This bug caused the wrong images to be process when running in batch mode. You can see this bug when you run the example macro below:
run("Blobs (25K)");
rename("test1")
setBatchMode(true); //Bug here
run("Duplicate...", "title=test1_duplicate.gif");
run("Find Edges"); //Bug caused the "Find Edge" to run on "test1" instead of "test1_duplicate.gif"
setBatchMode("exit and display");
setBatchMode(false); //Turn off batch mode
run("Blobs (25K)");
rename("test2")
run("Duplicate...", "title=test2_duplicate.gif");
run("Find Edges"); //no bug, "Find Edge" ran on "test2_duplicate.gif" correctly
Best Regards,
John
________________________________________
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html