Skip to content

Commit

Permalink
Update validator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Jan 13, 2024
1 parent e6cf6c6 commit 9e1e8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdmf/validate/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def get_type(data, builder_dtype=None):
if data.dtype.metadata is not None and data.dtype.metadata.get('vlen') is not None:
# Try to determine dtype from the first array element
if len(data) > 0:
return get_type(data[0])
return get_type(data[0], builder_dtype)
# Empty array
else:
# Empty string array
Expand Down

0 comments on commit 9e1e8f0

Please sign in to comment.