-
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] Add test for to_anndata column_names #763
Conversation
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.
typo and a trivail* suggestion but looks great
* this typo made on accident but too funny to remove
""" | ||
Verify that column_names is correctly handled in the various obs/var accessors. | ||
|
||
Returned columsn should be the union of the columns specifically requested via |
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.
Returned columsn should be the union of the columns specifically requested via | |
Returned columns should be the union of the columns specifically requested via |
with soma_experiment.axis_query( | ||
"RNA", | ||
obs_query=soma.AxisQuery( | ||
value_filter="label in [" + ",".join([f"'{i}'" for i in range(101)]) + "]" |
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.
nit: you can pass a generator to .join
rather than reifying it into a list:
value_filter="label in [" + ",".join([f"'{i}'" for i in range(101)]) + "]" | |
value_filter="label in [" + ",".join(f"'{i}'" for i in range(101]) + "]" |
Issue and/or context:
See #755 and chanzuckerberg/cellxgene-census#56
Changes:
Add a test to validate changes introduced in single-cell-data/SOMA#89
Notes for Reviewer:
Please review with single-cell-data/SOMA#89
IMPORTANT: This test will fail until
tiledbsoma
is upgraded to use the fix insomacore