Skip to content

Commit 93252d9

Browse files
committed
Update nwb_docs.md
1 parent 89b1881 commit 93252d9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/nwb_docs.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ This will create a file named `nwb_animal_123_session_1.nwb` with default metada
8989
Export with custom metadata and subject information:
9090

9191
```python
92+
from ethopy.utils.export.nwb import export_to_nwb
9293
filename = export_to_nwb(
9394
animal_id=123,
9495
session_id=1,
@@ -108,6 +109,8 @@ filename = export_to_nwb(
108109
Specify a custom output filename:
109110

110111
```python
112+
from ethopy.utils.export.nwb import export_to_nwb
113+
111114
filename = export_to_nwb(
112115
animal_id=123,
113116
session_id=1,
@@ -118,6 +121,8 @@ filename = export_to_nwb(
118121

119122
### Clarify the configuration path
120123
```python
124+
from ethopy.utils.export.nwb import export_to_nwb
125+
121126
filename = export_to_nwb(
122127
animal_id=123,
123128
session_id=1,
@@ -196,6 +201,8 @@ filename, nwb_obj = export_to_nwb(
196201
Export multiple sessions at once:
197202

198203
```python
204+
from ethopy.utils.export.nwb import batch_export_to_nwb
205+
199206
# Define sessions to export
200207
animal_session_list = [
201208
(123, 1),
@@ -206,7 +213,7 @@ animal_session_list = [
206213

207214
# Batch export with common parameters
208215
exported_files = batch_export_to_nwb(
209-
sessions,
216+
animal_session_list,
210217
experimenter="Dr. Smith",
211218
lab="Vision Lab",
212219
institution="FORTH IMBB",

0 commit comments

Comments
 (0)