Closed NicoKiaru closed 4 years ago
Okay I want to give this a spin before merging. After the maven build I copied the jar to my fiji plugins. When starting fiji I then get the following error:
any hint on how I would get this to work?
Ah, I believe it's the bumping to pom-scijava 28.0.0 that was required for the AbstractDelegateConverter
, and which did not exist in previous version.
I guess your FIJI is up-to-date @k-dominik but can you confirm it ?
This probably means that Fiji is not yet using scijava 28, do you think it's the case @imagejan ?
I could change the converter to use the old API... for now
This probably means that Fiji is not yet using scijava 28
The goal is to synchronize the state of the Java-8 update site with the current maven release, but currently, Fiji ships scijava-common-2.80.1.jar
, whereas the AbstractDelegateConverter
is only available with version 2.81.0
and later.
Uploads of all the core components to the update site will like have to wait until mid-July.
So for now, I suggest to ship your dependencies on your update site and let them shadow the respective jars from the Java-8 update site. But of course, implementing it with older API is also an option.
So for now, I suggest to ship your dependencies on your update site and let them shadow the respective jars from the Java-8 update site.
Hey, so for me, not being fully immersed in the fiji/ij/scijava world, what would this actually mean? Would everyone who installs the ilastik plugin also then install our scijava package (and would, in turn all the plugins for this person "link" against it)?
tested and it works!!! Thank you very much @NicoKiaru
Adds a converter needed for IJ1 macro scripting:
Converts a String (provided by an IJ1 macro script) to a Dataset by delegating the conversion to a String to ImagePlus converter chained to an {@link ImagePlus} to {@link Dataset} converter
This converter should be removed once this issue : https://github.com/imagej/imagej-legacy/issues/246 is resolved
See also : https://forum.image.sc/t/plugin-with-two-datasets-parameters-will-always-pop-up-gui-in-macro-runs/36637/11
https://forum.image.sc/t/object-classification-using-the-ilastik-plugin-for-fiji/32997
I did not try completely whether all issues were resolved with this - can you test whether that solves the batch issues you were mentioning @k-dominik ?
@imagejan I tried to put as much documentation as possible on the converter and also post on the issue in imagej-legacy. What do you think ? Does that sound reasonable for the moment ?