-
Notifications
You must be signed in to change notification settings - Fork 25
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++] Fix upgrade-soma-joinid-shape for dataframes having non-standard dimensions #3416
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
johnkerl
force-pushed
the
kerl/sdf-non-std-resize
branch
from
December 10, 2024 22:39
ea43e5b
to
634f886
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3416 +/- ##
==========================================
+ Coverage 85.99% 86.09% +0.09%
==========================================
Files 55 55
Lines 6221 6221
==========================================
+ Hits 5350 5356 +6
+ Misses 871 865 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
|
johnkerl
force-pushed
the
kerl/sdf-non-std-resize
branch
from
December 10, 2024 23:25
478359f
to
1521201
Compare
johnkerl
changed the title
[c++] Fix upgrade-shape for dataframes with non-standard dimensions
[c++] Fix upgrade-soma-joinid-shape for dataframes with non-standard dimensions
Dec 10, 2024
johnkerl
changed the title
[c++] Fix upgrade-soma-joinid-shape for dataframes with non-standard dimensions
[c++] Fix upgrade-soma-joinid-shape for dataframes having non-standard dimensions
Dec 10, 2024
jp-dark
reviewed
Dec 11, 2024
jp-dark
approved these changes
Dec 11, 2024
github-actions bot
pushed a commit
that referenced
this pull request
Dec 11, 2024
…d dimensions (#3416) * [c++] Fix upgrade-shape for dataframes with non-standard dimensions * unit testing * code-review feedback
johnkerl
added a commit
that referenced
this pull request
Dec 11, 2024
…d dimensions (#3416) (#3419) * [c++] Fix upgrade-shape for dataframes with non-standard dimensions * unit testing * code-review feedback Co-authored-by: John Kerl <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue and/or context: As tracked on issue #2407 / [sc-51048]. Also #3417.
Changes:
There should be a closing curly brace here:
TileDB-SOMA/libtiledbsoma/src/soma/soma_array.cc
Line 1042 in cbfa704
and not here:
TileDB-SOMA/libtiledbsoma/src/soma/soma_array.cc
Line 1144 in cbfa704
As this correctly describes
TileDB-SOMA/libtiledbsoma/src/soma/soma_array.cc
Lines 1024 to 1025 in cbfa704
we need to be copying from core domain (soma maxdomain) to core current domain (soma domain) for all the other dims.
One problem is that the only remaining code which tests this (now that we aren't creating new arrays without current domain anymore) is in
TileDB-SOMA/apis/python/tests/test_shape.py
Line 434 in cbfa704
-- and the "canned" (saved-off) pre-1.15 xexperiments only have dataframes that are 'standard' i.e. soma_joinid is their only dim.
i'll add some pre-1.15 data to test this.
Notes for Reviewer:
When this PR is ready for review, please review it with
https://github.com/single-cell-data/TileDB-SOMA/pull/3416/files?diff=split&w=1 (edited)
as that will not flag whitespace as red/green, and this PR is (a) just moving a curly brace, with concomitant indentation change, and (b) additional unit-test coverage.