SBU-BMI / wsinfer

🔥 🚀 Blazingly fast pipeline for patch-based classification in whole slide images
https://wsinfer.readthedocs.io
Apache License 2.0
56 stars 9 forks source link

[TEST] add test for WholeSlideImagePatches class #151

Open kaczmarj opened 1 year ago

kaczmarj commented 1 year ago

add tests for the torch dataset child class WholeSlideImagePatches.

https://github.com/SBU-BMI/wsinfer/blob/86294180757c70c8c7117020601663089043f7a3/wsinfer/modellib/data.py#L93-L172

you may want to create your own reference tiff image, as in https://github.com/SBU-BMI/wsinfer/blob/86294180757c70c8c7117020601663089043f7a3/tests/test_all.py#L27-L43