From 3622f9ee71340f42d99821740b4e84a7e7bc37ed Mon Sep 17 00:00:00 2001 From: Boyd Peters Date: Wed, 1 Oct 2025 14:21:36 +0200 Subject: [PATCH] fix: ensure consistent axes ordering in index --- python/ndstorage/ndtiff_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ndstorage/ndtiff_index.py b/python/ndstorage/ndtiff_index.py index eba11ea..9d701be 100644 --- a/python/ndstorage/ndtiff_index.py +++ b/python/ndstorage/ndtiff_index.py @@ -138,7 +138,7 @@ def get_bit_depth(self): def as_byte_buffer(self): axes = {axis_name: position for axis_name, position in self.axes_key} - axes_key_bytes = json.dumps(axes).encode('utf-8') + axes_key_bytes = NDTiffIndexEntry.serialize_axes(axes).encode('utf-8') filename_bytes = self.filename.encode('utf-8') buffer = BytesIO()