Skip to content

Commit

Permalink
Merge branch 'dev' into exp
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 authored Aug 3, 2024
2 parents bfc85d1 + a98e5e9 commit 0c03816
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# HDMF Changelog

## HDMF 3.14.4 (Upcoming)

### Enhancements
- Added support to append to a dataset of references for HDMF-Zarr. @mavaylon1 [#1157](https://github.com/hdmf-dev/hdmf/pull/1157)

## HDMF 3.14.3 (July 29, 2024)

### Enhancements
Expand Down
3 changes: 2 additions & 1 deletion src/hdmf/data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
from .utils import docval, getargs, popargs, docval_macro, get_data_shape

def append_data(data, arg):
if isinstance(data, (list, DataIO)):
from hdmf.backends.hdf5.h5_utils import HDMFDataset
if isinstance(data, (list, DataIO, HDMFDataset)):
data.append(arg)
return data
elif type(data).__name__ == 'TermSetWrapper': # circular import
Expand Down

0 comments on commit 0c03816

Please sign in to comment.