Skip to content

Commit

Permalink
Rename stim -> script in epochs table
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed Oct 16, 2024
1 parent f45b9b1 commit 991caf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/npc_sessions/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ def epochs(self) -> pynwb.file.TimeIntervals:
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",
)
epochs.add_column(
"stim_name",
"script_name",
description="the name of the TaskControl subclass that controlled stimulus presentation during the epoch",
)
epochs.add_column(
Expand Down Expand Up @@ -1256,7 +1256,7 @@ def get_epoch_record(stim_file: npc_io.PathLike) -> dict[str, Any]:
return {
"start_time": start_time,
"stop_time": stop_time,
"stim_name": stim_name,
"script_name": stim_name,
"tags": tags,
"interval_names": (
interval_names
Expand Down

0 comments on commit 991caf0

Please sign in to comment.