Skip to content

Commit

Permalink
Simplify io options logic
Browse files Browse the repository at this point in the history
  • Loading branch information
oruebel authored Jan 16, 2024
1 parent d12299e commit 21d5a6d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/hdmf_zarr/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1174,9 +1174,8 @@ def __list_fill__(self, parent, name, data, options=None): # noqa: C901
io_settings = dict()
if options is not None:
dtype = options.get('dtype')
io_settings = options.get('io_settings')
if io_settings is None:
io_settings = dict()
if options.get('io_settings') is not None:
io_settings = options.get('io_settings')
# Determine the dtype
if not isinstance(dtype, type):
try:
Expand Down

0 comments on commit 21d5a6d

Please sign in to comment.