Skip to content

Commit 991caf0

Browse files
committed
Rename stim -> script in epochs table
1 parent f45b9b1 commit 991caf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/npc_sessions/sessions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ def epochs(self) -> pynwb.file.TimeIntervals:
11761176
description="time intervals corresponding to different phases of the session; each epoch corresponds to one TaskControl subclass that controlled stimulus presentation during the epoch, which corresponds to one .hdf5 stimulus file",
11771177
)
11781178
epochs.add_column(
1179-
"stim_name",
1179+
"script_name",
11801180
description="the name of the TaskControl subclass that controlled stimulus presentation during the epoch",
11811181
)
11821182
epochs.add_column(
@@ -1256,7 +1256,7 @@ def get_epoch_record(stim_file: npc_io.PathLike) -> dict[str, Any]:
12561256
return {
12571257
"start_time": start_time,
12581258
"stop_time": stop_time,
1259-
"stim_name": stim_name,
1259+
"script_name": stim_name,
12601260
"tags": tags,
12611261
"interval_names": (
12621262
interval_names

0 commit comments

Comments
 (0)