Skip to content

Commit adf4fe9

Browse files
committed
Avoid error when no position tracking
1 parent e1a9542 commit adf4fe9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/trodes_to_nwb/convert_position.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,7 @@ def add_position(
778778

779779
except IndexError:
780780
position_tracking_filepath = None
781+
position_timestamps_filepath = None
781782

782783
logger.info(epoch)
783784
logger.info(f"\tposition_timestamps_filepath: {position_timestamps_filepath}")

0 commit comments

Comments
 (0)