Skip to content

Commit

Permalink
Avoid error when no position tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelbray32 committed Nov 6, 2023
1 parent e1a9542 commit adf4fe9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/trodes_to_nwb/convert_position.py
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,7 @@ def add_position(

except IndexError:
position_tracking_filepath = None
position_timestamps_filepath = None

logger.info(epoch)
logger.info(f"\tposition_timestamps_filepath: {position_timestamps_filepath}")
Expand Down

0 comments on commit adf4fe9

Please sign in to comment.