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] Support enumerations in update_obs/update_var #1707

Merged
merged 8 commits into from
Sep 28, 2023
Merged

Conversation

johnkerl
Copy link
Member

@johnkerl johnkerl commented Sep 21, 2023

Issue and/or context: Validates update_obs/update_var when the newly added column is an enumeration: tracking issue #1710, with grandparent #866.

Changes:

Notes for Reviewer:

@johnkerl johnkerl force-pushed the kerl/enumvolve branch 3 times, most recently from 2db25ea to 5fdd9a3 Compare September 21, 2023 19:59
@johnkerl johnkerl changed the title [python] Support enumerations in update_obs/update_var [WIP] [python/r] Support enumerations in update_obs/update_var [WIP] Sep 22, 2023
@codecov-commenter
Copy link

codecov-commenter commented Sep 22, 2023

Codecov Report

All modified lines are covered by tests ✅

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

see 37 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@johnkerl johnkerl changed the title [python/r] Support enumerations in update_obs/update_var [WIP] [python] Support enumerations in update_obs/update_var [WIP] Sep 25, 2023
@johnkerl johnkerl marked this pull request as ready for review September 28, 2023 21:21
@johnkerl
Copy link
Member Author

johnkerl commented Sep 28, 2023

This is having a weird CI fail
which I cannot repro on my own Mac; also I've manually triggered full CI here
https://github.com/single-cell-data/TileDB-SOMA/actions/workflows/python-ci-full.yml
https://github.com/single-cell-data/TileDB-SOMA/actions/runs/6344245562
and all was green

cc @ihnorton I thought we resolved all mac-CI issues a couple weeks ago but I may have missed something ... 👀 🤔

@johnkerl johnkerl changed the title [python] Support enumerations in update_obs/update_var [WIP] [python] Support enumerations in update_obs/update_var Sep 28, 2023
Copy link
Contributor

@thetorpedodog thetorpedodog left a comment

Choose a reason for hiding this comment

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

A couple minor code style points but otherwise looks mostly good. Not familiar enough with the way enumerations work to judge that part but provided somebody can OK that, I'm happy.

apis/python/src/tiledbsoma/io/_registration/signatures.py Outdated Show resolved Hide resolved
apis/python/src/tiledbsoma/io/ingest.py Outdated Show resolved Hide resolved
apis/python/src/tiledbsoma/io/ingest.py Outdated Show resolved Hide resolved
@johnkerl johnkerl merged commit d5dee48 into main Sep 28, 2023
12 checks passed
@johnkerl johnkerl deleted the kerl/enumvolve branch September 28, 2023 23:30
github-actions bot pushed a commit that referenced this pull request Sep 28, 2023
* [python] Support enumerations in `update_obs`/`update_var` [WIP]

* expand unit tests

* silence a warning

* Avoid unnecessary MacOS 3.7 check

* experimenting

* code-review feedback
johnkerl added a commit that referenced this pull request Sep 29, 2023
…1736)

* [python] Support enumerations in `update_obs`/`update_var` [WIP]

* expand unit tests

* silence a warning

* Avoid unnecessary MacOS 3.7 check

* experimenting

* 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants