Skip to content

fix: Point cloud component meta data group#89

Merged
janickm merged 1 commit intoNVIDIA:mainfrom
janickm:dev/janickm/push-vwwrmvvvrqrk
May 5, 2026
Merged

fix: Point cloud component meta data group#89
janickm merged 1 commit intoNVIDIA:mainfrom
janickm:dev/janickm/push-vwwrmvvvrqrk

Conversation

@janickm
Copy link
Copy Markdown
Collaborator

@janickm janickm commented May 5, 2026

Serialization of point-clouds failed for itar stores that don't allow
updating existing group attributes - move to attributes of group level
instead. This was a bug that prevented itar stores to be created, hence
accept potentially invalid directory-based versions.

Attribute schema storage and access improvements:

  • Attribute schemas and coordinate_unit are now written to and read from the pcs group attributes instead of the top-level group, ensuring support for itar files. (ncore/impl/data/v4/components.py) [1] [2] [3]

Testing improvements:

  • All relevant tests in ncore/impl/data/v4/components_test.py are now parameterized to run for both itar and directory store types, improving coverage and reliability across backends. (ncore/impl/data/v4/components_test.py) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]

Test utility changes:

  • The _make_writer_reader helper now requires the store_type argument as a positional parameter, clarifying usage and preventing accidental omission. (ncore/impl/data/v4/components_test.py)

@janickm janickm self-assigned this May 5, 2026
@janickm janickm added the bug Something isn't working label May 5, 2026
@janickm janickm enabled auto-merge (rebase) May 5, 2026 14:20
@janickm janickm force-pushed the dev/janickm/push-vwwrmvvvrqrk branch from ee677bc to 7bd62ab Compare May 5, 2026 14:30
Serialization of point-clouds failed for itar stores
that don't allowupdating existing group attributes -
move to attributes of group levelinstead.

This was a bug that prevented itar stores to be created,
hence accept potentially invalid directory-based versions.
Also extend unit tests to cover both store types + fix newly
uncovered type issues due to the now type-checked functions.
@janickm janickm force-pushed the dev/janickm/push-vwwrmvvvrqrk branch from 7bd62ab to 65dad42 Compare May 5, 2026 15:45
@janickm janickm merged commit 52fe0cd into NVIDIA:main May 5, 2026
5 checks passed
@janickm janickm deleted the dev/janickm/push-vwwrmvvvrqrk branch May 5, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant