-
Notifications
You must be signed in to change notification settings - Fork 24
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
Create a layer for each channel of NGFF-Zarr datasets #6609
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, and works for me! Please see my two small refactoring suggestions.
Also: could you add the passing of the channelIndex also for the N5Array (at N5BucketProvider)? The N5 explorer does not currently support inferring channel metadata (which is fine for now), but if added manually to the datasource-properties.json, this should also work.
I don't exactly know what you intend for the N5Array. Should the N5Array have another property channelIndex? |
Yes, and pass it to its superclass (that should be enough) |
…sorry, should have been more clear 😇 The N5BucketProvider calls N5Array.open, and there the channelIndex should be passed through, analogous to what happens in the ZarrBucketProvider and ZarrArray.open |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
…cing * 'master' of github.com:scalableminds/webknossos: Fix parsing failure during import of ngff zarr datasets with translation transforms (#6621) Fix rerender after each layer name keypress in dataset import view (#6628) Create a layer for each channel of NGFF-Zarr datasets (#6609) Fix screenshot tests (#6623) Fix importing a dataset from disk (#6615) Allow deleting annotation layers (#6593) Rephrased Error Messages (#6616)
scalableminds/webknossos#6609 has been merged and deployed yesterday.
URL of deployed dev instance (used for testing):
https://channelindex.webknossos.xyz/Steps to test:
Not tested: Importing zarr datasets with only one channel. This should result in only one layer.
Issues:
(Please delete unneeded items, merge only when none are left open)