Skip to content

Commit

Permalink
added inline comment
Browse files Browse the repository at this point in the history
  • Loading branch information
oruebel committed Nov 11, 2022
1 parent 8053036 commit d2f916e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hdmf/validate/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def get_type(data):
else:
# Object has 'dtype' attribute, e.g., an h5py.Dataset
if hasattr(data, 'dtype'):
# Compound data type
if isinstance(data.dtype, list):
return [get_type(data[0][i]) for i in range(len(data.dtype))]
# Variable length data type
Expand Down

0 comments on commit d2f916e

Please sign in to comment.