Skip to content

Commit

Permalink
fix double underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
eroell committed Oct 21, 2024
1 parent 3260222 commit 5da19ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anndata/_core/file_backing.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def close(self):

def _to_memory_mode(self):
"""Close the backing file, forget filename, *do* change to memory mode."""
self._adata.__X = self._adata.X[()]
self._adata._X = self._adata.X[()]
self._file.close()
self._file = None
self._filename = None
Expand Down

0 comments on commit 5da19ac

Please sign in to comment.