Skip to content

[python] Trivial dead-strip#2968

Merged
johnkerl merged 1 commit intomainfrom
kerl/minor-trim
Sep 9, 2024
Merged

[python] Trivial dead-strip#2968
johnkerl merged 1 commit intomainfrom
kerl/minor-trim

Conversation

@johnkerl
Copy link
Copy Markdown
Contributor

@johnkerl johnkerl commented Sep 7, 2024

Issue and/or context: A minor item on issue #2407 / [sc-51048].

Note that the intended Python and R API changes are all agreed on and finalized as described in #2407.

Changes:

Since SOMASparseNDArray and SOMADenseNDArray have shape while SOMADataFrame has domain, what's exposed in Python is correct. However we have a dangling/unused pybind11 hook for SOMAArray.

Notes for Reviewer:

$ grep '"shape"' *.cc
soma_array.cc:        .def_property_readonly("shape", &SOMAArray::shape)
soma_dense_ndarray.cc:        .def_property_readonly("shape", &SOMADenseNDArray::shape)
soma_sparse_ndarray.cc:        .def_property_readonly("shape", &SOMASparseNDArray::shape)

@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.99%. Comparing base (4752915) to head (a01177c).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2968      +/-   ##
==========================================
+ Coverage   89.84%   89.99%   +0.14%     
==========================================
  Files          39       39              
  Lines        4057     4057              
==========================================
+ Hits         3645     3651       +6     
+ Misses        412      406       -6     
Flag Coverage Δ
python 89.99% <ø> (+0.14%) ⬆️

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

Components Coverage Δ
python_api 89.99% <ø> (+0.14%) ⬆️
libtiledbsoma ∅ <ø> (∅)

@johnkerl johnkerl requested review from jp-dark and nguyenv September 7, 2024 12:59
@johnkerl
Copy link
Copy Markdown
Contributor Author

johnkerl commented Sep 9, 2024

Thanks @nguyenv !

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