Skip to content

Commit 3bb5140

Browse files
committed
Fix extension example
1 parent 85b592f commit 3bb5140

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/gallery/general/extensions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ class PotatoSack(MultiContainerInterface):
358358
pmod.add_container(potato_sack)
359359

360360

361-
with NWBHDF5IO('test_potato.nwb', 'w') as io:
361+
with NWBHDF5IO('test_potato_extension.nwb', 'w') as io:
362362
io.write(nwbfile)
363363

364364
####################
@@ -367,7 +367,7 @@ class PotatoSack(MultiContainerInterface):
367367

368368
load_namespaces('ndx-potato.namespace.yaml')
369369
# from xxx import PotatoSack, Potato
370-
io = NWBHDF5IO('test_multicontainerinterface.nwb', 'r')
370+
io = NWBHDF5IO('test_potato_extension.nwb', 'r')
371371
nwb = io.read()
372372
print(nwb.get_processing_module()['potato_sack'].get_potato('big_potato').weight)
373373
# note: you can call get_processing_module() with or without the module name as

0 commit comments

Comments
 (0)