Open odinsbane opened 3 weeks ago
One work around is the put the class file into a jar.
jar cf Example_Plugin.jar Example_Plugin.class
Restarting pyimagej the plugin should work fine.
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/issue-with-loading-local-plugins-with-pyimagej/100279/9
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/adjustable-watershed-plugin-in-pyimagej/100563/3
See also this Zulip topic, where I describe some findings related to this issue.
Some plugins are used by just putting a class file in the plugins folder. These plugins do not load properly in pyimagej.
To reproduce this, take an example plugin and compile it to a class file and place it in the fiji plugins folder.
Starting fiji, the
Example Plugin
will be available in the menu and running it should produce the desired output.Starting pyimagej.
Note the "Fiji.app" is the path to the Fiji that has the plugin installed. This should display the UI with Example Plugin in the menu. Trying to run it will cause a class not found exception.