Skip to content

Commit a40cab4

Browse files
Update io.py and pyproject.toml
- replace output h5 file instead of appending
1 parent 6b571c5 commit a40cab4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cuisto/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def save_dfs(out_dir: str, filename, dfs: dict):
238238
if ext in [".h5", ".hdf", ".hdf5"]:
239239
path = os.path.join(out_dir, filename)
240240
for identifier, df in dfs.items():
241-
df.to_hdf(path, key=identifier)
241+
df.to_hdf(path, key=identifier, mode="w")
242242
elif ext == ".xlsx":
243243
for identifier, df in dfs.items():
244244
df.to_excel(path, sheet_name=identifier)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cuisto"
3-
version = "2025.01.9"
3+
version = "2025.01.10"
44
authors = [{ name = "Guillaume Le Goc", email = "g.legoc@posteo.org" }]
55
description = "Quantification of objects in histological slices"
66
readme = "README.md"

0 commit comments

Comments
 (0)