Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[c++] Push down PointCloudDataFrame spatial metadata from Python to C++ #3630

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jp-dark
Copy link
Collaborator

@jp-dark jp-dark commented Jan 24, 2025

Issue and/or context: [sc-62101]

Changes:

  • Add protected SOMAArray::_create method that passes back the raw TileDB-Array for additional metadata writes in subclasses.
  • Write coordinate space and spatial-encoding metadata in C++ instead of Python for the PointCloudDataFrame class.

This method allows child classes to write additional metadata to the
TileDB array before closing. This also changes the `create`/`_create`
method to use standard objects instead of a pointer.
@johnkerl johnkerl changed the title [c++] Push down spatial metadata in the PointCloudDataFrame class from Python to C++ [c++] Push down PointCloudDataFrame spatial metadata from Python to C++ Jan 24, 2025
Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.09%. Comparing base (acc2340) to head (94ceb98).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3630      +/-   ##
==========================================
+ Coverage   65.07%   65.09%   +0.02%     
==========================================
  Files         151      151              
  Lines       19695    19481     -214     
  Branches     1194     1177      -17     
==========================================
- Hits        12816    12682     -134     
+ Misses       6457     6383      -74     
+ Partials      422      416       -6     
Flag Coverage Δ
libtiledbsoma 54.78% <100.00%> (-0.15%) ⬇️
python 86.29% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
python_api 86.29% <100.00%> (+0.03%) ⬆️
libtiledbsoma 47.01% <100.00%> (+0.16%) ⬆️

Copy link
Collaborator

@XanthosXanthopoulos XanthosXanthopoulos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants