Error when saving empty list as annotation
Open
bug
- Dominant language
- Python
- Stars
- 22
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
```
from neo import Block, NixIO
bl = Block(empty_list=[])
with NixIO('test.nix','ow') as nio:
nio.write_block(bl)
```
results in
> File "nixpy/nixio/section.py", line 457, in __setitem__
val, [val[0].data_type]
IndexError: list index out of range
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.