Skip to content

Commit

Permalink
Update backend.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 authored Nov 19, 2024
1 parent 4d8e255 commit e6fd6af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdmf_zarr/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ def write_attributes(self, **kwargs):
except: # noqa: E722
raise TypeError(str(e) + " type=" + str(type(value)) + " data=" + str(value)) from e
# Case 2: References
elif isinstance(value, (Container, Builder, ReferenceBuilder)):
elif isinstance(value, (Builder, ReferenceBuilder)):
refs = self._create_ref(value, self.path)
tmp = {'zarr_dtype': 'object', 'value': refs}
obj.attrs[key] = tmp
Expand Down

0 comments on commit e6fd6af

Please sign in to comment.