Skip to content

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

@aschampion

Description

@aschampion

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*'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions