-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updating notebooks #3
Comments
I just made that on my own, but we could add it to this repo! Eventually. It's a bit messy right now. |
So does it make sense to update |
it would be good to update them and perhaps use the nwbstreaming environment directly to pull in the streaming data. |
I can work on this |
@satra what do you think of this? https://github.com/dandi/example-notebooks/blob/master/NWBWidget-demo.ipynb |
thanks that looks nice. regarding the search paths, there is a dedicated endpoint for that: https://dandi.readme.io/reference#dandisets_versions_assets_paths_read that specific api return will change shortly (dandi/dandi-archive#312), but that's what you should use instead of the current formulation. |
@satra I'd like to be able to demonstrate API best practices but I don't understand how to use this. What I need is an API where I can input the dandiset identifier and the nwb file path and have it output the asset_id of that NWB file. Is that possible with the API? |
yes that api has exactly those things but will return a list of objects. path is a parameter to that api endpoint. if you fill in the values in readme.io it will show you the corresponding python code. |
I've been playing around with it and this is the closest I've gotten but this neither returns the single object I am looking for nor returns the asset ID. Also, the documentations says:
but I want to specify the path of a file. |
really sorry, i gave the wrong api endpoint.
|
and you should be able to give the fullpath. the other endpoint returns the list of objects at a given level in the hierarchy |
that works, thanks @satra |
@bendichter - I'm thinking about updating the notebooks from this repo, but I wonder if your yesterday notebooks were not related to this repo
The text was updated successfully, but these errors were encountered: