Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions t4_devkit/dataclass/pointcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ def _validate_metainfo(self, attribute, value) -> None:
f"idx_begin={idx_begin}, length={length}, but num_points={num_points}"
)

# Skip sources with zero length as they don't represent any points and can cause false positives in coverage validation.
if length == 0:
continue

intervals.append((idx_begin, idx_end, source_token))

# Sort intervals by start index
Expand Down
Loading