You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a new mag / adding data to a layer, we should assert that the data's dtype is actually supported by WEBKNOSSOS and can be rendered. If not, provide a warning.
Probably should be handled by the mag.write() method or when creating a new layer.
The amount of supported dtypes got way larger with scalableminds/webknossos#8325, but there are still some obscure formats that are not supported. Namely, (u)int64 and double are not supported for color layers. Segmentation layers don't support float and double (somewhat logical).
Detailed Description
When adding a new mag / adding data to a layer, we should assert that the data's dtype is actually supported by WEBKNOSSOS and can be rendered. If not, provide a warning.
Probably should be handled by the
mag.write()
method or when creating a new layer.Supported dtypes can be found: https://docs.webknossos.org/webknossos/data_formats.html#wkw-datasets or at scalableminds/webknossos#6581
Use Cases & Context
This could prevent user errors, e.g. uploading color layer data as
uint64
.The text was updated successfully, but these errors were encountered: