File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -497,12 +497,13 @@ class NwbRecordingExtractor(BaseRecording, _BaseNWBExtractor):
497497 >>> from dandi.dandiapi import DandiAPIClient
498498 >>>
499499 >>> # get s3 path
500- >>> dandiset_id, filepath = "101116", "sub-001/sub-001_ecephys.nwb"
501- >>> with DandiAPIClient("https://api-staging.dandiarchive.org/api") as client:
502- >>> asset = client.get_dandiset(dandiset_id, "draft").get_asset_by_path(filepath)
500+ >>> dandiset_id = "001054"
501+ >>> filepath = "sub-Dory/sub-Dory_ses-2020-09-14-004_ecephys.nwb"
502+ >>> with DandiAPIClient() as client:
503+ >>> asset = client.get_dandiset(dandiset_id).get_asset_by_path(filepath)
503504 >>> s3_url = asset.get_content_url(follow_redirects=1, strip_query=True)
504505 >>>
505- >>> rec = NwbRecordingExtractor(s3_url, stream_mode="fsspec", stream_cache_path="cache ")
506+ >>> rec = NwbRecordingExtractor(s3_url, stream_mode="remfile ")
506507 """
507508
508509 installation_mesg = "To use the Nwb extractors, install pynwb: \n \n pip install pynwb\n \n "
You can’t perform that action at this time.
0 commit comments