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] ensure that wsinfer functions without openslide or without tiffslide #149

Open kaczmarj opened 1 year ago

kaczmarj commented 1 year ago

a test should be added that tests whether wsinfer still works if openslide is not installed or tiffslide is not installed. one of these must be installed, so the test should also fail if neither is detected.

kaczmarj commented 6 months ago

i tried doing this with mock from unittest, but i can't... we could add a test in bash that uninstalls tiffslide and makes sure the command line still works, then does the same with openslide...