-
Notifications
You must be signed in to change notification settings - Fork 2
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
Provide no caching for the data #72
Conversation
Codecov Report
@@ Coverage Diff @@
## master #72 +/- ##
=========================================
Coverage ? 82.49%
=========================================
Files ? 18
Lines ? 514
Branches ? 0
=========================================
Hits ? 424
Misses ? 90
Partials ? 0
Continue to review full report at Codecov.
|
6cdce2c
to
2dcbc22
Compare
3849dbc
to
0ef5f52
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.
Awesome.
2dcbc22
to
816c593
Compare
0ef5f52
to
445513d
Compare
816c593
to
fb34c86
Compare
445513d
to
e2a64bc
Compare
Tiles can be read multiple times, but each time it decodes from the backend. The application is responsbile for caching it if necessary. Test plan: make -j test
e2a64bc
to
f3c140a
Compare
If the tile_shape is not provided by the json file, we should infer it from the actual data. This is a suboptimal data path since it requires a decoding step just to get the shape of the tile, so we warn about it. Previously, this field was set by `_load()`, but that was removed in #72. Test plan: Generate a tileset document, and then strip the shape data from the tiles. Then read it back. The correct tile shapes should be provided, but getting them should trigger a warning.
If the tile_shape is not provided by the json file, we should infer it from the actual data. This is a suboptimal data path since it requires a decoding step just to get the shape of the tile, so we warn about it. Previously, this field was set by `_load()`, but that was removed in #72. Test plan: Generate a tileset document, and then strip the shape data from the tiles. Then read it back. The correct tile shapes should be provided, but getting them should trigger a warning.
Both notebooks had datasets where the tile shapes were not consistently provided. spacetx/slicedimage#72 broke the recording of the tile shape, and spacetx/slicedimage#73 fixes it. Test plan: `make -j run__notebooks/py/ISS_Pipeline_-_Breast_-_1_FOV.py run__notebooks/py/assay_comparison.py`
Both notebooks had datasets where the tile shapes were not consistently provided. spacetx/slicedimage#72 broke the recording of the tile shape, and spacetx/slicedimage#73 fixes it. Test plan: `make -j run__notebooks/py/ISS_Pipeline_-_Breast_-_1_FOV.py run__notebooks/py/assay_comparison.py`
Tiles can be read multiple times, but each time it decodes from the backend. The application is responsbile for caching it if necessary.
Depends on #71
Test plan: make -j test