We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77cad28 commit b6c8046Copy full SHA for b6c8046
src/spikeinterface/extractors/nwbextractors.py
@@ -497,9 +497,10 @@ class NwbRecordingExtractor(BaseRecording, _BaseNWBExtractor):
497
>>> from dandi.dandiapi import DandiAPIClient
498
>>>
499
>>> # get s3 path
500
- >>> dandiset_id, filepath = "101116", "sub-001/sub-001_ecephys.nwb"
+ >>> dandiset_id = "001054"
501
+ >>> filepath = "sub-Dory/sub-Dory_ses-2020-09-14-004_ecephys.nwb"
502
>>> with DandiAPIClient() as client:
- >>> asset = client.get_dandiset(dandiset_id, "draft").get_asset_by_path(filepath)
503
+ >>> asset = client.get_dandiset(dandiset_id).get_asset_by_path(filepath)
504
>>> s3_url = asset.get_content_url(follow_redirects=1, strip_query=True)
505
506
>>> rec = NwbRecordingExtractor(s3_url, stream_mode="remfile")
0 commit comments