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.
HSDS v0.9 used to support datasets with a null shape, but HSDS v1 doesn't seem to any more:
/datasets/{id}anddatatypes/{id}endpoints used to returnshape: { class: 'H5S_NUL' }but they now returnshape: { class: 'H5S_SCALAR' }./datasets/{id}/valueendpoint used to returnnullbut it now returns a scalar value.H5Web's
sample-hsds.h5file contains three datasets with an empty shape:ascii_vlen_empty,bool_emptyandfloat32_emptythat demonstrate the issue.