-
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] Make ExperimentAxisQuery
inherit somacore
, restore its .close
#3493
Conversation
ExperimentAxisQuery
inherit somacore
, restore its .close
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.
Please restore test_query_cleanup
from
https://github.com/single-cell-data/TileDB-SOMA/blob/1.14.5/apis/python/tests/test_experiment_query.py#L541-L567
but omitting the threadpool-is-None/not-None checks per
#3307 (comment)
We need unit-test coverage that we have a .close
method on ExperimentAxisQuery
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.
Thanks @ryan-williams !
Co-authored-by: John Kerl <[email protected]>
….close` (#3493) * make EAQ inherit somacore, restore EAQ.close * restore `test_query_cleanup` sans threadpool checks * Update apis/python/src/tiledbsoma/_query.py Co-authored-by: John Kerl <[email protected]> --------- Co-authored-by: John Kerl <[email protected]>
….close` (#3493) (#3500) * make EAQ inherit somacore, restore EAQ.close * restore `test_query_cleanup` sans threadpool checks * Update apis/python/src/tiledbsoma/_query.py --------- Co-authored-by: Ryan Williams <[email protected]> Co-authored-by: John Kerl <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3493 +/- ##
==========================================
+ Coverage 86.27% 86.32% +0.05%
==========================================
Files 55 55
Lines 6338 6340 +2
==========================================
+ Hits 5468 5473 +5
+ Misses 870 867 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Issue and/or context:
somacore
, but mistakenly didn't inherit from thesomacore.ExperimentAxisQuery
ABC.ExperimentAxisQuery.close
a no-op (per this thread).ExperimentAxisQuery.close
altogether, which should have triggered a pre-commit error since EAQ was no longer implementing thesomacore
ABC.close
to fail pre-commit.[sc-59686]