-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
napari 0.5 support #389
napari 0.5 support #389
Conversation
I get the expected warning:
which confirms that the colormap dict is being correctly passed to napari... But then... Nothing. 😕 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #389 +/- ##
==========================================
+ Coverage 85.76% 85.81% +0.05%
==========================================
Files 13 13
Lines 1531 1537 +6
==========================================
+ Hits 1313 1319 +6
Misses 218 218 ☔ View full report in Codecov by Sentry. |
@joshmoore @will-moore I notice the message
right above my changes, which I totally agree with 😅, indeed I was surprised that I had to come to this repo to fix this issue, but since we hope to release 0.5.0 very shortly, I was hoping to merge this fix first, do a release, and then migrate the logic to napari-ome-zarr at our leisure after that release. Any thoughts? 🙏 |
Happy to see a fix & release here, but I agree that this is surprising to find in this repo. |
I'm a bit confused, I don't get why this fix is in this repo and not the plugin?
I find that this simple fix, of dropping the |
BTW, i can reproduce the infinite spin without zarr/etc. so that's a napari bug -- maybe just a visual? dunno. |
(1) the changes should account for both 0.4.19x and for 0.5.0, because passing the dict only works on 0.5.0, unfortunately. Am I misunderstanding what the "color" key is doing here @will-moore @joshmoore? |
Hi @joshmoore @will-moore — napari 0.5.0 will be released in the next hour or so, at which point napari-ome-zarr will be unable to load any datasets with labels + color annotations. I guess that doesn't describe most datasets, but still, it would be good to fix this. 🙏 |
Sorry - been away, looking now.... |
Test setup - new env etc...
Working with labels being loaded... Repeated with a new env using newly released napari and get:
With @psobolewskiPhD's fix above in I think the easiest "fix" to make sure this doesn't break napari 0.4 users is to require |
@will-moore just to clarify, you only need the changes from ome/napari-ome-zarr#112, right? This can be closed? in this repo, can you clarify — was the color key only for napari's benefit or does it have some other function? (ie should it be removed anyway) |
Will is away for a couple of weeks but I asked him this as well and it was a yes. I'm less clear on your other question but if you see no blockers, I say we get the other fix out. |
I do not — let's merge ome/napari-ome-zarr#112 and release! |
Fixes ome/napari-ome-zarr#109
... or at least, attempts to do so!
@psobolewskiPhD, now with napari/napari#7061 merged and the code in this PR,
this doesn't crash anymore, but the labels layer never finishes loading. Do you
see the same thing? I'm not sure what the cause could be...