Skip to content

Restore support for H5S_NUL shape #467

Description

@axelboc

HSDS v0.9 used to support datasets with a null shape, but HSDS v1 doesn't seem to any more:

  • The /datasets/{id} and datatypes/{id} endpoints used to return shape: { class: 'H5S_NUL' } but they now return shape: { class: 'H5S_SCALAR' }.
  • The /datasets/{id}/value endpoint used to return null but it now returns a scalar value.

H5Web's sample-hsds.h5 file contains three datasets with an empty shape: ascii_vlen_empty, bool_empty and float32_empty that demonstrate the issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Fields

Priority

P1 - High

Effort

Small

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions