From 17a739263d2cd560f7aaf063e75f4ff9a4aa45ee Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Mon, 3 Nov 2025 22:10:45 +0100 Subject: [PATCH] bsread cannot handle object arrays --- dap/utils/bsreadext.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dap/utils/bsreadext.py b/dap/utils/bsreadext.py index dce3a9f..98c3789 100644 --- a/dap/utils/bsreadext.py +++ b/dap/utils/bsreadext.py @@ -31,8 +31,8 @@ def list_to_array(x): # let numpy figure out the dtype return np.array(x) except ValueError: - # the above fails for ragged lists, which need to be object arrays - return np.array(x, dtype=object) + # the above fails for ragged lists but bsread also cannot handle object arrays + return None