Comments (5)
julia> haskey(f, "./aa")
false
This does not throw an error, but perhaps it should be true?
julia> HDF5.API.h5l_exists(f, "./aa", HDF5.API.H5P_DEFAULT)
true
julia> HDF5.API.h5l_exists(f, "aa//", HDF5.API.H5P_DEFAULT)
true
julia> HDF5.API.h5l_exists(f, "bb//cc", HDF5.API.H5P_DEFAULT)
true
julia> HDF5.API.h5l_exists(f, "aa/c", HDF5.API.H5P_DEFAULT)
ERROR: HDF5.API.H5Error: Cannot determine whether aa/c exists
...
Should "aa/c"
not error? It does not exist.
from hdf5.jl.
Should "aa/c" not error? It does not exist.
I would say it should return false
.
from hdf5.jl.
In #978 and #979, I'm expanding and updating the low level H5O bindings, which seem relevant here based on the h5py code.
from hdf5.jl.
At the end of the loop, it looks like we will need API.h5o_get_info_by_name
to check if the object is a group before iterating again.
We will need to write a high level hdf5type
function that abstracts over the different h5o_get_info_by_name
versions (1 vs 3). For version 3, we can use H5O_INFO_BASIC
as the fields
argument.
from hdf5.jl.
Here's a link to has_key
in this code base. The function is recursive rather than iterative.
from hdf5.jl.
Related Issues (20)
- Release 6.11 HOT 2
- Better error messages when trying to use MPI without a compatible binary HOT 3
- Merge strategy
- Change to new documentation links HOT 1
- HDF5 1.14 support HOT 1
- libhdf5 not found when importing a package that depends on HDF5 HOT 3
- add branch protection to master HOT 1
- Switch to Preferences for using system hdf5 HOT 8
- Juliacon 2023? HOT 13
- OrderedCollections, an implicit dependency HOT 4
- Finalizer error when rapidly writing to HDF5 HOT 28
- Update reference API HOT 7
- Configuration options HOT 4
- H5O_info[1]_t type definition is incorrect
- BITSHUFFLE filter not supported out of the box for HDF5 reading HOT 9
- Use `task_local_storage` as a context instead of global state.
- Finalizers cause exception_access_violation while using HDF5 from a thread. HOT 9
- Summer maintainership? HOT 2
- Failed to precompile HDF5 on macOS HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hdf5.jl.