Skip to content

Commit

Permalink
Update io.py and pyproject.toml
Browse files Browse the repository at this point in the history
- replace output h5 file instead of appending
  • Loading branch information
GuillaumeLeGoc committed Jan 9, 2025
1 parent 6b571c5 commit a40cab4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cuisto/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def save_dfs(out_dir: str, filename, dfs: dict):
if ext in [".h5", ".hdf", ".hdf5"]:
path = os.path.join(out_dir, filename)
for identifier, df in dfs.items():
df.to_hdf(path, key=identifier)
df.to_hdf(path, key=identifier, mode="w")
elif ext == ".xlsx":
for identifier, df in dfs.items():
df.to_excel(path, sheet_name=identifier)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "cuisto"
version = "2025.01.9"
version = "2025.01.10"
authors = [{ name = "Guillaume Le Goc", email = "[email protected]" }]
description = "Quantification of objects in histological slices"
readme = "README.md"
Expand Down

0 comments on commit a40cab4

Please sign in to comment.