Conversation
|
Hi! I've added you as a maintainer of the project. Happy if you merge it. I had a look and found nothing problematic imo. Too bad you had to resort to reflection. Maybe it's something fixable in the future ? Anyway it's good for now. Just a quick question: it's working without updating the warpy dependency ? If yes, I'm happy. |
Thank you a lot!
There are only a couple of things I'd like to have your full ACK:
Believe me, I've tried to avoid it but for now there is no other option. An likely nothing for the whole QuPath 0.6.* version. I don't see this being a short-term workaround :\
Yes, as of now it's depending on warpy 0.3.1. Thank you! |
What do you mean by that ? Everything was published to scijava maven before: https://maven.scijava.org/#nexus-search;quick~qupath-extension-abba Is it not published now ? Or is it published on central instead of scijava ?
Sure; makes perfect sense since it's not compatible with QuPath 0.5 anymore.
Alright.
Ah, this is not great indeed. It's a fatjar ? |
Sorry, I explained myself badly. I meant that i moved and change the script to publish to scijava maven and I am not 100% sure it is correct until we'll run the CI/CD workflow here on github
It is not, yes
Yes, warpy dependency is added with |
d22fd39 to
5e71c42
Compare
5e71c42 to
a40366d
Compare
|
just as a clarification: the fatjar is built only with |
Ah! Ok I don't know how to best handle this. But my opinion (is it good) is that people should install Warpy and the ABBA extension, a little bit like what happens with the Fiji update sites. The other alternative is to merge Warpy and the ABBA repo, but I don't think it's a good idea because it breaks modularity. For now let's keep the fatjar as what I understand is that it's easier to do it like that. |
|
I absolutely am in favour of keeping warpy extension a thing of its own. It may not only be useful to abba, but also to others as well. That said i feel like shipping ABBA extension with the version of warpy with whom it was tested by the developer is the best idea. In order to do so, making the extension include the correct version seems the best sensible option. It's true that if warpy extension gets an update, ABBA extension will have to be manually updated. This, however, is not a downside in my eyes as it requires us to check whether the dependency update breaks anything or not. |
now that 0.3.2 is released, I am no longer worried to break bad stuff on production branch hahaha I'm merging this |
Unfortunately, the possibility of resorting to a public API is out of question, for now: qupath/qupath#1715 (comment) |
with this PR i update gradle build to Kotlin following qupath/qupath-extension-template#21.
Additionally I adapted the code to avoid calling
getServer()when it is avoidable.Thanks to a new feature of QuPath 0.6.+ i worked with along with Pete, this allows the scripts to run in batch much faster.
In order to do it i had to use reflection on a quite stable QuPath interface (it is serialized into the retro-compatible save states).
Lastly, the check on the server is now done recursively. This is because the wrapping
RotatedImageServermight also be wrapped into anotherTransformingImageServer.I understand that this might seem a big PR. If you prefer I can slice it into multiples.
Fixes: #22