Skip to content
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

Multi channel names #103

Open
tischi opened this issue Jun 22, 2022 · 2 comments
Open

Multi channel names #103

tischi opened this issue Jun 22, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@tischi
Copy link
Collaborator

tischi commented Jun 22, 2022

        final ImageJ imageJ = new ImageJ();
        imageJ.ui().showUI();
        final OpenOMEZARRFromS3Command command = new OpenOMEZARRFromS3Command();
        command.s3URL = "https://s3.embl.de/i2k-2020/ngff-example-data/v0.4/czyx.ome.zarr";
        command.run();

yields:

image

Where both channels have the same name.
We should change this as sources in BDV should not have the same name (In fact I am surprised that this does not crash)!

@tischi tischi added the bug Something isn't working label Jun 22, 2022
@constantinpape
Copy link
Collaborator

Where both channels have the same name.
We should change this as sources in BDV should not have the same name (In fact I am surprised that this does not crash)!

The problem here is that both get the name in multiscales, which is czyx, since both channels come from the same ome-zarr multiscales object.
I am not sure what the best solution is here, we can maybe make the names unique via {name}-c{i}, so here czyx-c0, czyx-c0

@tischi
Copy link
Collaborator Author

tischi commented Jun 29, 2022

yes, just append c{i}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants