Skip to content
Snippets Groups Projects
Commit 2a730f67 authored by ='s avatar =
Browse files

write h5 not append it

parent bc2bc13f
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ def save_atlas(
save_folder: Path,
):
save_path = save_folder / f"{atlas_name}.h5"
file = h5py.File(save_path, "a")
file = h5py.File(save_path, "w")
x_px = maps.shape[0]
y_px = maps.shape[1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment