Skip to content

Commit

Permalink
Merge pull request #67 from LorenFrankLab/no_ptp_no_position
Browse files Browse the repository at this point in the history
Skip epochs where no position tracking info sooner
  • Loading branch information
edeno authored Nov 16, 2023
2 parents 6dbf25e + abd2acc commit bccfeb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trodes_to_nwb/convert_position.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,8 @@ def add_position(
].full_path.to_list()[0]

except IndexError:
position_tracking_filepath = None
position_timestamps_filepath = None
logging.warning(f"No position tracking data found for epoch {epoch}")
continue

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

0 comments on commit bccfeb8

Please sign in to comment.