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

[python] Enumerations-API refinement #1755

Merged
merged 17 commits into from
Oct 31, 2023
Merged

Conversation

nguyenv
Copy link
Member

@nguyenv nguyenv commented Oct 4, 2023

Issue and/or context:

#1746

Changes:

@nguyenv nguyenv marked this pull request as ready for review October 4, 2023 14:04
@nguyenv nguyenv requested review from johnkerl and bkmartinjr October 4, 2023 21:57
@nguyenv nguyenv force-pushed the viviannguyen/enum-api-refinement branch from 4edc807 to 99652a8 Compare October 5, 2023 01:31
@codecov-commenter
Copy link

codecov-commenter commented Oct 5, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Files Coverage Δ
apis/python/src/tiledbsoma/_tdb_handles.py 96.31% <100.00%> (+0.03%) ⬆️
apis/python/src/tiledbsoma/io/ingest.py 87.11% <ø> (-0.02%) ⬇️
apis/python/src/tiledbsoma/_dataframe.py 96.19% <96.77%> (-0.38%) ⬇️

... and 75 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@nguyenv nguyenv force-pushed the viviannguyen/enum-api-refinement branch 3 times, most recently from a8a7d88 to 82494b3 Compare October 25, 2023 20:59
@nguyenv nguyenv marked this pull request as draft October 27, 2023 19:26
@nguyenv nguyenv marked this pull request as ready for review October 27, 2023 19:26
@nguyenv
Copy link
Member Author

nguyenv commented Oct 28, 2023

catch_clara.cc file failure in C++ build? Not related to changes in this PR. Will investigate tomorrow morning.

@nguyenv nguyenv force-pushed the viviannguyen/enum-api-refinement branch from e1fb7aa to 79d94c7 Compare October 30, 2023 15:19
@johnkerl
Copy link
Member

@nguyenv this is failing CI because it's not on top of #1838

@nguyenv
Copy link
Member Author

nguyenv commented Oct 30, 2023

There is actually two more corrections I need to do. I already solved one. If there are no new enumeration values, then do not evolve the schema (before, we were extending with an empty list). But there's one more issue having to do with Boolean enums.

@nguyenv nguyenv changed the base branch from main to kerl/2.17.3 October 30, 2023 19:16
@nguyenv nguyenv force-pushed the viviannguyen/enum-api-refinement branch from 408c349 to 08fc2bf Compare October 30, 2023 19:46
@nguyenv nguyenv force-pushed the viviannguyen/enum-api-refinement branch from 08fc2bf to 47aa7f6 Compare October 30, 2023 20:00
Base automatically changed from kerl/2.17.3 to main October 31, 2023 15:10
mojaveazure and others added 3 commits October 31, 2023 12:12
* Force exporting v3 assays with SeuratObject v5 installed
SeuratObject v5 creates v5 assays by default (didn't always). This PR
sets options in `SOMAExperimentAxisQuery$to_seurat()` and
`SOMAExperimentAxisQuery$to_seurat_assay()` to force SeuratObject to
create v3 assays instead of v5 ones

Addresses chanzuckerberg/cellxgene-census#816

* Add tests to ensure v3 assays are exported even if v5 is installed

* Update tests to not name `slot` in `GetAssayData()`

* Don't name `slot` in `SetAssayData()`

* Don't name `slot` in `GetAssayData()`

* Temporarily stop using `expect_no_condition()` due to bug in SeuratObject
* [c++/python] Depends on core 2.17.3 and TileDB-Py 0.23.2

* Point at dev tiledb-r from #1835
@nguyenv nguyenv force-pushed the viviannguyen/enum-api-refinement branch from 1cce1f5 to 1a3a500 Compare October 31, 2023 17:13
@nguyenv nguyenv requested a review from johnkerl October 31, 2023 17:36
@nguyenv nguyenv merged commit 2ec1788 into main Oct 31, 2023
1 check passed
@nguyenv nguyenv deleted the viviannguyen/enum-api-refinement branch October 31, 2023 19:38
github-actions bot pushed a commit that referenced this pull request Oct 31, 2023
* Add unit test where subsequent write introduces new category value
* Only Extend If New Values Found, Add New Values in Order
johnkerl pushed a commit that referenced this pull request Oct 31, 2023
* Add unit test where subsequent write introduces new category value
* Only Extend If New Values Found, Add New Values in Order

Co-authored-by: nguyenv <[email protected]>
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.

5 participants