Skip to content

Commit

Permalink
(fix): _to_backed -> to_backed
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan-gold committed Sep 7, 2023
1 parent 1b58a64 commit 49dceb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anndata/_core/sparse_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def __setitem__(self, index: Union[Index, Tuple[()]], value):
PendingDeprecationWarning,
)
row, col = self._normalize_index(index)
mock_matrix = self._to_backed()
mock_matrix = self.to_backed()
mock_matrix[row, col] = value

# TODO: split to other classes?
Expand Down

0 comments on commit 49dceb2

Please sign in to comment.