Skip to content

Commit 4187a2b

Browse files
author
spencer@primus
committed
Move get timestamp to below objects
1 parent e687e76 commit 4187a2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

avapi/_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ def get_objects(
273273
) -> DataContainer:
274274
reference = self.get_ego_reference(frame, agent=agent)
275275
sensor = self.get_sensor_name(sensor, agent=agent)
276-
timestamp = self.get_timestamp(frame=frame, sensor=sensor, agent=agent)
277276
objs = self._load_objects(frame, sensor=sensor, agent=agent, **kwargs)
277+
timestamp = self.get_timestamp(frame=frame, sensor=sensor, agent=agent)
278278
if max_occ is not None:
279279
objs = [
280280
obj

0 commit comments

Comments
 (0)