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

tile endpoint does not work if tile-size is larger than one of the orientation axes #6

Open
aschampion opened this issue Oct 26, 2017 · 0 comments

Comments

@aschampion
Copy link

No matter resolution, x_idx, y_idx, z_idx parameters, always receive a 400 when querying the xz/yz planes if the tile size is larger than the z dimension:

curl 'https://api.boss.neurodata.io/v1/tile/kharris15/apical/em/yz/256/0/0/0/0' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept: */*' -H 'Authorization: Token *snip*'

{"status": 400, "code": 1001, "message": "Incorrect cutout arguments 0/0/0/0"}

If the tile size is reduced to 32, works:

curl 'https://api.boss.neurodata.io/v1/tile/kharris15/apical/em/yz/32/0/0/0/0' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept: */*' -H 'Authorization: Token *snip*'
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