From fd814f9ec565962cad6ca828a2f329242b8f1d10 Mon Sep 17 00:00:00 2001 From: ilan-gold Date: Wed, 10 Jan 2024 09:58:11 -0500 Subject: [PATCH] (fix): `indptr` writeable --- anndata/_core/sparse_dataset.py | 1 - 1 file changed, 1 deletion(-) diff --git a/anndata/_core/sparse_dataset.py b/anndata/_core/sparse_dataset.py index 7b9a84892..1b3aec147 100644 --- a/anndata/_core/sparse_dataset.py +++ b/anndata/_core/sparse_dataset.py @@ -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: