Skip to content

Commit 36c6495

Browse files
Merge branch 'chore/change-pc-source-id-name' of github.com:tier4/t4-devkit into chore/change-pc-source-id-name
2 parents 8fa6b02 + 5cbd414 commit 36c6495

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

t4_devkit/dataclass/pointcloud.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ def in_seconds(self) -> float:
4646
float: Timestamp in seconds.
4747
"""
4848
return self.sec + self.nanosec * 1e-9
49-
49+
50+
5051
@define
5152
class PointCloudSourceInfo:
5253
"""A dataclass to represent pointcloud source information.
@@ -102,6 +103,7 @@ def source_tokens(self) -> list[str]:
102103
"""
103104
return [source.sensor_token for source in self.sources]
104105

106+
105107
@define
106108
class PointCloud:
107109
"""Abstract base dataclass for pointcloud data."""

t4_devkit/sanity/reference/ref301.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ class REF301(ExternalReferenceChecker):
3030

3131
def check(self, context: SanityContext) -> list[Reason] | None:
3232
"""Check that all sensor tokens in PointCloudMetainfo files exist in Sensor schema.
33-
33+
3434
Validates that all source tokens found in pointcloud info files reference valid
3535
sensor tokens from the sensor schema.
36-
36+
3737
Args:
3838
context: The sanity check context containing schema files and data root.
39-
39+
4040
Returns:
4141
List of Reason objects for invalid sensor token references, or None if all valid.
4242
"""

0 commit comments

Comments
 (0)