Skip to content

Commit

Permalink
Read obsm/varm arrays from _axism_inner (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronwolen authored Sep 25, 2024
1 parent eb60084 commit d41bbb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python-spec/src/somacore/query/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit d41bbb1

Please sign in to comment.