From d2f916e9fbe65428a33756d1af40ae2d2885d979 Mon Sep 17 00:00:00 2001 From: Oliver Ruebel Date: Thu, 10 Nov 2022 16:09:54 -0800 Subject: [PATCH] added inline comment --- src/hdmf/validate/validator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hdmf/validate/validator.py b/src/hdmf/validate/validator.py index 5bd733f08..8bf0b8c07 100644 --- a/src/hdmf/validate/validator.py +++ b/src/hdmf/validate/validator.py @@ -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