Weka segmentation updates

I have written a macro that uses Weka, however closing the weka window requires naming the specific update, e.g.:

selectWindow("Trainable Weka Segmentation v3.2.32”);

when that version is updated, the macro throws an error because it can’t find that window

Any suggestions?

You can rename the window just like any other window on FIJI.

	run("Trainable Weka Segmentation");
	rename("Weka_segmentation");  //or whatever name you would like

This way, the initial name of the window won’t matter.

1 Like