diff --git a/CHANGELOG.md b/CHANGELOG.md index 6449559a..3ab43847 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # HDMF-ZARR Changelog -## 0.3.1 (Upcoming) +## 0.4.0 (Upcoming) ### Enhancements * Enhanced ZarrIO to resolve object references lazily on read similar to HDMF's `HDF5IO` backend @mavaylon1 [#120](https://github.com/hdmf-dev/hdmf-zarr/pull/120) diff --git a/src/hdmf_zarr/backend.py b/src/hdmf_zarr/backend.py index 0b5a8f1a..688d387d 100644 --- a/src/hdmf_zarr/backend.py +++ b/src/hdmf_zarr/backend.py @@ -824,6 +824,11 @@ def write_dataset(self, **kwargs): # noqa: C901 dset = self.__list_fill__(parent, name, data, options) # Write a dataset of references elif self.__is_ref(options['dtype']): + # TODO Region references are not yet support, but here how the code should look + # if isinstance(data, RegionBuilder): + # shape = (1,) + # type_str = 'region' + # refs = self.__get_ref(data.builder, data.region) if isinstance(data, ReferenceBuilder): shape = (1,) type_str = 'object'