diff --git a/conda/environment.yml b/conda/environment.yml index f458b2a8..10c590fd 100644 --- a/conda/environment.yml +++ b/conda/environment.yml @@ -21,7 +21,6 @@ dependencies: - polars - pyarrow - pyproj - - python - rich - scipy - pytorch diff --git a/src/av2/utils/synchronization_database.py b/src/av2/utils/synchronization_database.py index 433a34ef..72df0579 100644 --- a/src/av2/utils/synchronization_database.py +++ b/src/av2/utils/synchronization_database.py @@ -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