()
| 206 | |
| 207 | @skipUnless(has_cucim or has_tiff, "Requires cucim, openslide, or tifffile!") |
| 208 | def setUpModule(): |
| 209 | for info in [(ARRAY_SMALL_0, FILE_PATH_SMALL_0), (ARRAY_SMALL_1, FILE_PATH_SMALL_1)]: |
| 210 | array = info[0].transpose([1, 2, 0]) |
| 211 | imwrite(info[1], array, shape=array.shape, photometric="rgb") |
| 212 | hash_type = testing_data_config("images", FILE_KEY, "hash_type") |
| 213 | hash_val = testing_data_config("images", FILE_KEY, "hash_val") |
| 214 | download_url_or_skip_test(FILE_URL, FILE_PATH, hash_type=hash_type, hash_val=hash_val) |
| 215 | |
| 216 | |
| 217 | class SlidingPatchWSIDatasetTests: |
nothing calls this directly
no test coverage detected
searching dependent graphs…