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

Unclear error message for no open images, when loading model #7

Open
nunopimpaomartins opened this issue Dec 3, 2020 · 1 comment

Comments

@nunopimpaomartins
Copy link

A confusing message pops-up when attempting to load a bioimage.io model without open images.
"A RandomAccessibleInterval is required but none exist."

bioimage_predict_noimage

Happens both through File > Import > bioimage.io.zip and Plugins > bioimage.io > bioimage.io prediction

@imagejan
Copy link
Member

imagejan commented Dec 3, 2020

The wording of the error message has to be fixed on the SciJava side, see also: scijava/scijava-common#380 (comment).

Alternatively, the RandomAccessibleInterval parameter in the respective command can be declared required=false, and possible null values are handled in a tolerant way.

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

2 participants