Skip to content

Commit

Permalink
Update src/hdmf/validate/validator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Jan 13, 2024
1 parent 9e1e8f0 commit 01d2bd9
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 @@ -165,7 +165,7 @@ def get_type(data, builder_dtype=None):
else:
# Empty string array
if data.dtype.metadata["vlen"] == str:
return "utf", get_string_format(data)
return "utf", None
# Undetermined variable length data type.
else: # pragma: no cover
raise EmptyArrayError() # pragma: no cover
Expand Down

0 comments on commit 01d2bd9

Please sign in to comment.