We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e17b3f commit 6eb85beCopy full SHA for 6eb85be
anndata/_core/anndata.py
@@ -1192,7 +1192,7 @@ def _inplace_subset_obs(self, index: Index1D):
1192
Same as `adata = adata[index, :]`, but inplace.
1193
"""
1194
adata_subset = self[index].copy()
1195
- self._init_as_actual(adata_subset, dtype=self._X.dtype)
+ self._init_as_actual(adata_subset, dtype=self.X.dtype)
1196
1197
# TODO: Update, possibly remove
1198
def __setitem__(
0 commit comments