From d41bbb1af637013dd97d0954fbf315780e58d017 Mon Sep 17 00:00:00 2001 From: Aaron Wolen Date: Wed, 25 Sep 2024 16:14:50 -0500 Subject: [PATCH] Read obsm/varm arrays from _axism_inner (#229) --- python-spec/src/somacore/query/query.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-spec/src/somacore/query/query.py b/python-spec/src/somacore/query/query.py index 3823670..ac22792 100644 --- a/python-spec/src/somacore/query/query.py +++ b/python-spec/src/somacore/query/query.py @@ -592,8 +592,7 @@ def _axism_inner_ndarray( axis: "_Axis", layer: str, ) -> np.ndarray: - axism = axis.getitem_from(self._ms, suf="m") - table = axism[layer].read().tables().concat() + table = self._axism_inner(axis, layer).tables().concat() n_row = len(axis.getattr_from(self._joinids)) n_col = len(table["soma_dim_1"].unique())