-
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
[python] Ingest 2D uns string arrays (e.g. color labels) #1763
Conversation
3555873
to
50c4a59
Compare
5a9103d
to
ec2f63e
Compare
Codecov ReportAll modified lines are covered by tests ✅ ❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
... and 75 files with indirect coverage changes 📢 Thoughts on this report? Let us know!. |
apis/python/setup.py
Outdated
@@ -269,7 +269,7 @@ def run(self): | |||
install_requires=[ | |||
# Needed for Python 3.7 which anndata 0.9 doesn't support but we do | |||
"anndata < 0.9; python_version<'3.8'", | |||
"anndata; python_version>='3.8'", | |||
"anndata~=0.9.0; python_version>='3.8'", # XXX TEMP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
anndata 0.10.0 just dropped and this is affecting ALL our Python PRs right now & I'll come up with a way to handle this -- got some good advice from @thetorpedodog in Slack ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tracked in #1765
ec2f63e
to
6d0f456
Compare
This is stacked atop the blocking PR #1766 until that PR is merged, at which point this PR will be on |
75764c2
to
1a95736
Compare
6d0f456
to
d62085f
Compare
1a95736
to
21ac225
Compare
d62085f
to
150aa68
Compare
21ac225
to
9d4c0a0
Compare
150aa68
to
f775b86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks clean to my (only moderately discerning for Python) eyes
f775b86
to
fee4da3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
* [python] Ingest 2D uns string arrays (e.g. color labels) * unit-test case * unit-test case * comments * code-review feedback
* [python] Ingest 2D uns string arrays (e.g. color labels) * unit-test case * unit-test case * comments * code-review feedback Co-authored-by: John Kerl <[email protected]>
Issue and/or context: #1764
Changes: As part of uns-outgest testing, I am also seeing we're not ingesting uns in all cases.
Namely, the code looks like this:
https://github.com/single-cell-data/TileDB-SOMA/blob/1.5.0rc1/apis/python/src/tiledbsoma/io/ingest.py#L2190-L2196
when AnnData inputs look like this:
Notes for the reviewer: