We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 873dda9 commit f8afffbCopy full SHA for f8afffb
test/CondaPkg.toml
@@ -1,2 +1,4 @@
1
[deps]
2
+hdf5plugin = ""
3
+h5py = ""
4
imagecodecs = ""
test/hdf5-compat.jl
@@ -14,6 +14,10 @@ import CodecBzip2
14
import Blosc
15
import CodecZstd
16
17
+using PythonCall
18
+pyimport("hdf5plugin")
19
+h5py = pyimport("h5py")
20
+
21
# Useful links:
22
# https://support.hdfgroup.org/documentation/index.html
23
# https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md
@@ -68,6 +72,10 @@ codecs = [
68
72
h5_decoded = collect(f["test-data"])
69
73
@test h5_decoded == data
70
74
end
75
+ # Test reading with h5py
76
+ f = h5py.File(path, "r")
77
+ @test PyArray(f["test-data"][pybuiltins.Ellipsis]) == data
78
+ f.close()
71
79
80
81
0 commit comments