diff --git a/Project.toml b/Project.toml index 32f9425..8914ea6 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "CMB" uuid = "592991c5-7c29-5f04-aea2-6d9f924ef2a1" author = ["Justin Willmert "] -version = "0.3.0" +version = "0.3.1" [deps] AssociatedLegendrePolynomials = "2119f1ac-fb78-50f5-8cc0-dda848ebdb19" @@ -23,9 +23,9 @@ BitFlags = "0.1" Compat = "3.25" FFTW = "1" FileIO = "1.6" -HDF5 = "0.14, 0.15, 0.16" -JLD = "0.12" -MAT = "0.10" +HDF5 = "0.16" +JLD = "0.13" +MAT = "0.10.3" Reexport = "0.2, 1" Requires = "1" StaticArrays = "0.11, 0.12, 1" diff --git a/src/fileio_hdf5.jl b/src/fileio_hdf5.jl index c8f74ba..5a020d2 100644 --- a/src/fileio_hdf5.jl +++ b/src/fileio_hdf5.jl @@ -187,7 +187,7 @@ end AT = HDF5.get_jl_type(dset) HDF5.ismmappable(AT) || error("Cannot mmap datasets of type ", AT) - offset = HDF5.h5d_get_offset(dset) + offset = HDF5.API.h5d_get_offset(dset) io = open(HDF5.filename(dset), read = true) @@ -237,10 +237,9 @@ function write_obsmat(filename, obsmat::SparseMatrixCSC; h5open(filename, "w"; alignment = (0, align)) do hfile # Write the sparse matrix g = create_group(hfile, obsmat_name) - EARLY = HDF5.H5D_ALLOC_TIME_EARLY - g["indptr", alloc_time = EARLY] = indptr - g["indices", alloc_time = EARLY] = indices - g["data", alloc_time = EARLY] = data + g["indptr", alloc_time = :early] = indptr + g["indices", alloc_time = :early] = indices + g["data", alloc_time = :early] = data a = attributes(g) a["format"] = "csc" a["shape"] = [size(obsmat)...] diff --git a/test/Project.toml b/test/Project.toml index 5365269..e8e1a38 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -18,5 +18,5 @@ TestSetExtensions = "98d24dd4-01ad-11ea-1b02-c9a08f80db04" [compat] Documenter = "0.25.2, 0.26, 0.27" -JLD = "0.12" -MAT = "0.10" +JLD = "0.13" +MAT = "0.10.3"