Skip to content

Commit

Permalink
update filters_test to use smaller compressed file (reduce package size)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaranville committed Dec 5, 2023
1 parent 746e88a commit 4267c16
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified test/compressed.h5
Binary file not shown.
2 changes: 1 addition & 1 deletion test/filters_test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function filters_test() {
{
id: 6,
name: "scaleoffset",
cd_values: [0, 4, 3969, 1, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
cd_values: [0, 4, 1250, 1, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
},
]);
}
Expand Down
2 changes: 1 addition & 1 deletion test/make_test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


with h5py.File("compressed.h5", "w") as f:
data = np.random.random((1000, 1000))
data = np.random.random((100, 100))
f.create_dataset("scaleoffset", data=data, scaleoffset=4)
f.create_dataset("gzip", data=data, compression="gzip")
f.create_dataset(
Expand Down

0 comments on commit 4267c16

Please sign in to comment.