Skip to content

Commit

Permalink
Bugfix: savecsv no longer raises attributeerror, properly includes co…
Browse files Browse the repository at this point in the history
…dec json and zarr version
  • Loading branch information
shinzlet committed Jul 18, 2024
1 parent 0a0bee0 commit 2442983
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "czpeedy"
version = "0.2.0"
version = "0.2.1"
description = "A command-line tool used to determine the tensorstore settings which yield the fastest write speed on a given machine."
authors = [
{ name = "Seth Hinz", email = "[email protected]" }
Expand Down
4 changes: 3 additions & 1 deletion src/czpeedy/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def save_results_csv(self, path: Path):
"mean write time (s)",
"write std.dev (s)",
"dtype",
"zarr version",
"clevel",
"compressor",
"shuffle",
Expand All @@ -133,7 +134,8 @@ def save_results_csv(self, path: Path):
[
f"{np.mean(timings):.2f}",
f"{np.std(timings):.2f}",
trial_param.dtype_json(),
trial_param.dtype_json_v2() if trial_param.zarr_version == 2 else trial_param.dtype_json_v3(),
trial_param.zarr_version,
trial_param.clevel,
trial_param.compressor,
trial_param.shuffle,
Expand Down

0 comments on commit 2442983

Please sign in to comment.