openslide / openslide-java

Java bindings to OpenSlide
https://openslide.org/
GNU Lesser General Public License v2.1
41 stars 24 forks source link

Allow opening the synthetic slide #64

Closed bgilbert closed 12 months ago

bgilbert commented 12 months ago

Bypass the file-exists check if the file path is empty, allowing the synthetic test slide to be opened. If OPENSLIDE_DEBUG=synthetic is not set, we'll still fail, but with an IOException instead of a FileNotFoundException.

openslide-bot commented 12 months ago

DCO signed off :heavy_check_mark:

All commits have been signed off. You have certified to the terms of the Developer Certificate of Origin, version 1.1. In particular, you certify that this contribution has not been developed using information obtained under a non-disclosure agreement or other license terms that forbid you from contributing it under the GNU Lesser General Public License, version 2.1.