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

Default autoselect backend is confusing #104

Open
r2dliu opened this issue Dec 20, 2024 · 0 comments
Open

Default autoselect backend is confusing #104

r2dliu opened this issue Dec 20, 2024 · 0 comments

Comments

@r2dliu
Copy link
Member

r2dliu commented Dec 20, 2024

The logic for autoselect backend is not terribly visible to the user and leads to confusing messaging.

In my case, I did not need bioformats but issues with the zarr path resulted in it autoswitching to bioformats and eventually spitting out errors about missing java related executables. Without the knowledge of digging into the source and finding the autoselect, I would not know that this error was not relevant to my use case, and that I did not actually need to install those (which I did know but only from reading the readme, not from library messaging)

Potentially it is better to simply throw an exception if the autoselect logic does not infer the data type from the path.

EDIT: actually what throws me off more is even if I explicitly define pass the backend in Reader constructor, the autoselect and override can still happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant