-
Notifications
You must be signed in to change notification settings - Fork 19
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
checker falsely flags halo inside shape #56
Comments
I think the error lies in bioimage-io/spec-bioimage-io#76 In our "reference example" halo is also part of the output tensor description, not of the shape: This is because the shape might be defined with |
I am pretty sure that we have put |
This also becomes clear if you actually read what we have in the spec description:
This refers to |
I see how this ambiguity arose over time, as we had further discussions about the meaning of halo and offset. While offset only makes sense with the presence of |
It was always part of
This is again going back to the discussions we had about this, but |
exactly, but in case I am thinking of this scenario: output:
shape: [10, 20, 30] # explicit shape
halo: [1, 2, 3] # halo is outside of shape |
Ok, I agree. This is an error in the spec (but note that it was an error from the beginning....). I will add a PR to fix it in there properly. |
This is fixed. |
see bioimage-io/spec-bioimage-io#76
best guess is that the problem might be here: https://github.com/bioimage-io/python-bioimage-io/blob/2f7184f0f35e8dd195c4045247fdefa9fabc5502/pybio/spec/schema.py#L91-L95
The text was updated successfully, but these errors were encountered: