From 9156c5f6a10984aa6a3c30dc446396a37fc8c727 Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 22 Nov 2024 14:39:55 +0100 Subject: [PATCH] bug fix --- src/cyxtrax/io/save_map.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cyxtrax/io/save_map.py b/src/cyxtrax/io/save_map.py index 00d685c..086b667 100644 --- a/src/cyxtrax/io/save_map.py +++ b/src/cyxtrax/io/save_map.py @@ -40,8 +40,8 @@ def save_atlas( projection_points = file.require_dataset( "positions", - shape=(3, number_of_maps**3), # Initial shape with third dimension as 0 - maxshape=(3, number_of_maps**3), + shape=(3, number_of_maps), # Initial shape with third dimension as 0 + maxshape=(3, number_of_maps), dtype=np.float32, ) if isinstance(mesh_list, dict): -- GitLab