From ff66eba3c42326f2dc6d3f8bdcd18f2fd67ba26b Mon Sep 17 00:00:00 2001 From: Sieger Falkena Date: Fri, 12 Jul 2024 14:28:33 +0200 Subject: [PATCH] Update small mistake of attributeerror (#2162) --- tests/data/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/data/README.md b/tests/data/README.md index 1d95c728d..312bce2a8 100644 --- a/tests/data/README.md +++ b/tests/data/README.md @@ -20,7 +20,7 @@ with rio.open(os.path.join(ROOT, FILENAME), "r") as src: dtype = src.profile["dtype"] Z = np.random.randint(np.iinfo(dtype).max, size=(SIZE, SIZE), dtype=dtype) with rio.open(FILENAME, "w", **src.profile) as dst: - for i in dst.profile.indexes: + for i in dst.indexes: dst.write(Z, i) ```