Closed fhagemann closed 2 years ago
@apmypb Let's use read-only access as the default, we should have
LHDataStore(f::AbstractString, access::AbstractString = "r") = LHDataStore(HDF5.h5open(f, access))
The default should always be to not change scientific data. :-)
I will consider it in the next pull request
Thanks @apmypb !
Right now,
LHDataStore
is opened usingcw
rights, meaning that one can read and write. However, if trying to open a file without write access, this fails.How about making
something like
?