feat(aliby): dummy image for tiler input
WHY IS THIS CHANGE NEEDED?:
- We can only test the pipeline using minimal datasets or test experiments, which test the whole pipeline, but not individual components (e.g. tiler, segmentation, extraction) in isolation.
HOW DOES THE CHANGE SOLVE THE PROBLEM?:
- Added TIFF file from unit test (staffa:560) to
examples/tiler/
- Created dummy image class (
ImageDummy
inaliby.io.image
), which mimics the other image classes, and loads the dummy image file, then pads it with zeros to create anImage
instance thatTiler
accepts. - Created
dummy()
method forTiler
that initiates a dummyTiler
instance based on the dummy image. This method also implements a minimal Omero metadata dict to get it to function. - Added a test for the dummy image class to check whether the padding function works as expected.
- Extended the
Tiler
test to include the dummyTiler
. - Improved
aliby.io.image
andaliby.tile.tiler
documentation.
WHAT SIDE EFFECTS DOES THIS CHANGE HAVE?
- This is not a breaking change, and all tests passed, so I don't expect anything weird.
EVIDENCE THAT COMMIT WORKS:
- For
ImageDummy
: https://git.ecdf.ed.ac.uk/swain-lab/aliby/aliby/-/pipelines/21323 - For
Tiler
: https://git.ecdf.ed.ac.uk/swain-lab/aliby/aliby/-/pipelines/21335
REFERENCES
- Issue #53 (closed)
Edited by Arin Wongprommoon