-
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] Update the MultiscaleImage
to match somacore
API changes
#3262
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.
🚢
ab5b3b8
to
497e219
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dark/somacore-1.0.23 #3262 +/- ##
=======================================================
Coverage ? 83.74%
=======================================================
Files ? 51
Lines ? 5542
Branches ? 0
=======================================================
Hits ? 4641
Misses ? 901
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more.
|
1b1e736
to
a50d8cf
Compare
a50d8cf
to
b000c29
Compare
…#3262) * Directly take the `CoordinateSpace` as a creation parameter. * Remove confusing `image_type` property/creation parameter. Use `data_axis_order` instead which uses the axis names the user provided. * Create the first resolution level when creating the `MultiscaleImage`. * Require the `add_new_level` to only add images smaller than the base (level=0) image. * Add a `set` method for adding images that exist outside of SOMA. * Add a property to check the number of channels in the image. * Replace public facing `ImageProperties` class with internal `_LevelProperties` class.
* Update Scene subcollection API - Make subcollection always a positional argument (for consistency). - Fix docstrings for `create` methods (no default value for subcollection). * [python] Update the `MultiscaleImage` to match `somacore` API changes (#3262) - Directly take the `CoordinateSpace` as a creation parameter. - Remove confusing `image_type` property/creation parameter. Use `data_axis_order` instead which uses the axis names the user provided. - Create the first resolution level when creating the `MultiscaleImage`. - Require the `add_new_level` to only add images smaller than the base (level=0) image. - Add a `set` method for adding images that exist outside of SOMA. - Add a property to check the number of channels in the image. - Replace public facing `ImageProperties` class with internal `_LevelProperties` class.
This is the companion TileDB-SOMA changes for single-cell-data/SOMA#238. It consists of major changes to the
MultiscaleImage
implementation.Do NOT merge before single-cell-data/SOMA#238.