Replies: 1 comment 3 replies
-
@gviejo Accessing an object by HDF5 path is not supported by PyNWB right now, but perhaps it should. PyNWB was designed to be an API where objects are accessed in a more convenient way for average users than using the raw HDF5 representation under the hood. Some groups are hidden, like the "general" group, and objects are generally accessed as values of dictionaries and attributes of other objects. This is especially convenient where some low-level implementations are best hidden to the user, like how ragged arrays work in a DynamicTable. What are you trying to do using this way of accessing objects? How do you know what the objects are named? We could add this feature into PyNWB. Right now though, if you want to access an object by its known HDF5 path, you can use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello I would like to know if it is possible to give the full path of an object within a NWB file.
For example, I create two objects within the field acquisition
I know I can access with
nwbfile.acquisition['tsd1']
. Is there something closer tonwb['/acquisition/tsd1']
?Thank you for your help.
Guillaume
Beta Was this translation helpful? Give feedback.
All reactions