save macro
Posted by Robert Baer on Feb 22, 2011; 10:39pm
URL: http://imagej.273.s1.nabble.com/save-macro-tp3685574.html
I recently pulled out a plug-in (rather large set of of routines that someone else wrote) that analyzes some gray scale images in a series of steps. The last time I used the plug-in was in the ImageJ 1.43 era, I think, and everything seemed to work well at the time.
Now the plug-in gets part way through its processing of image 1, and halts with an image window showing, and it pops up the dialog box saying, "The save() macro function requires a file name extension."
Since there are numerous .java files associated with this process, I was hoping someone might verify: 1) whether there indeed have been any changes to ImageJ code that might have induced this behavior? and 2) how a call to the save() macro is likely to appear in the .java associated with the plug-in code. Would it look like IJ.macro("fname") or something else?
It could be my problems with the plug-in lie elsewhere in ways I don't yet understand. Any other general debugging tricks to share? I don't do much code development.
Thanks,
Rob
------------------------------------------
Robert W. Baer, Ph.D.
Professor of Physiology
Kirksville College of Osteopathic Medicine
A. T. Still University of Health Sciences
Kirksville, MO 63501
660-626-232
FAX 660-626-2965