From f423f415f31704c11d82069c9563d107ed670a77 Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Thu, 14 Nov 2024 18:52:52 -0800 Subject: [PATCH] Update backend.py --- src/hdmf_zarr/backend.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hdmf_zarr/backend.py b/src/hdmf_zarr/backend.py index 8f73ebea..1636487c 100644 --- a/src/hdmf_zarr/backend.py +++ b/src/hdmf_zarr/backend.py @@ -1049,9 +1049,7 @@ def write_dataset(self, **kwargs): # noqa: C901 for i, dts in enumerate(options['dtype']): if self.__is_ref(dts['dtype']): refs.append(i) - ref_tmp = self._create_ref(data[0][i], export_source=export_source) - dts_str = 'object' - type_str.append({'name': dts['name'], 'dtype': dts_str}) + type_str.append({'name': dts['name'], 'dtype': 'object'}) else: i = list([dts, ]) t = self.__resolve_dtype_helper__(i)