Skip to content

Commit

Permalink
Fix camera component names in nwb
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed May 1, 2024
1 parent 60c6f4b commit 487f6db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/npc_sessions/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2694,7 +2694,7 @@ def _facemap(self) -> tuple[pynwb.TimeSeries, ...]:
continue
nwb_camera_name = self.mvr_to_nwb_camera_name[camera_name]
timestamps = next(
t for t in self._video_frame_times if t.name == nwb_camera_name
t for t in self._video_frame_times if nwb_camera_name in t.name
).timestamps
assert len(timestamps) == npc_mvr.get_total_frames_in_video(video_path)
try:
Expand Down

0 comments on commit 487f6db

Please sign in to comment.