Skip to content

Commit

Permalink
Remove redundant python req + uncomment code.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminrwilson committed Dec 12, 2023
1 parent 6b1bcf7 commit 189624d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion conda/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ dependencies:
- polars
- pyarrow
- pyproj
- python
- rich
- scipy
- pytorch
Expand Down
4 changes: 2 additions & 2 deletions src/av2/utils/synchronization_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ def get_closest_cam_channel_timestamp(

cam_timestamps = self.per_log_cam_timestamps_index[log_id][cam_name]
# catch case if no files were loaded for a particular sensor
# if not cam_timestamps.tolist():
# return None
if not cam_timestamps.tolist():
return None

closest_cam_ch_timestamp, timestamp_diff = find_closest_integer_in_ref_arr(
lidar_timestamp, cam_timestamps
Expand Down

0 comments on commit 189624d

Please sign in to comment.