Closed jstriebel closed 5 years ago
@jstriebel cubeLength is the number of voxels per dimension in a wkw file. This is usually 1024. It is encoded in the wkw header ( see https://github.com/scalableminds/webknossos-wrap#header-fields ) –webKnossos itself doesn’t care about this, it is just used within the datastore. It probably needs to be present, though, in order for the type checks to work. As you can see here and related here, webKnossos has a concept of different kinds of data layers (so far knossos vs wkw) – so I’m not sure if it makes sense to emulate wkw layers if we don’t actually have them in wkconnect. But since it is designed as an adapter, it might also be ok just to write 1024 to the cubeLength.
This makes the reported
datasource-properties
compatible to what wk (front- & backend) actually expects.