Skip to content

Commit

Permalink
(fix): indptr writeable
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan-gold committed Jan 10, 2024
1 parent eed21ab commit fd814f9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion anndata/_core/sparse_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,6 @@ def append(self, sparse_matrix: ss.spmatrix):
@cached_property
def indptr(self):
arr = self.group["indptr"][...]
arr.flags.writeable = False
return arr

def _to_backed(self) -> BackedSparseMatrix:
Expand Down

0 comments on commit fd814f9

Please sign in to comment.