From 21f696866c07902f491a8cfafb1014c313cf3db1 Mon Sep 17 00:00:00 2001 From: Erik Smistad Date: Wed, 20 Mar 2024 11:26:33 +0100 Subject: [PATCH] Update SHA --- cmake/ModuleWholeSlideImaging.cmake | 2 +- source/FAST/Importers/WholeSlideImageImporter.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cmake/ModuleWholeSlideImaging.cmake b/cmake/ModuleWholeSlideImaging.cmake index 712d52562..b4713d955 100644 --- a/cmake/ModuleWholeSlideImaging.cmake +++ b/cmake/ModuleWholeSlideImaging.cmake @@ -28,7 +28,7 @@ if(FAST_MODULE_WholeSlideImaging) ) fast_download_dependency(openslide 3.4.1 - d18136ebd32e74385e094682c3d0ac9e855c9606d8a75848417d0bcfeffd9aaa + cf362c0d2abb1bbc49fd91a9549625cd41e4821d794ae8ccf5707b63857caf19 libopenslide.so ) endif() diff --git a/source/FAST/Importers/WholeSlideImageImporter.cpp b/source/FAST/Importers/WholeSlideImageImporter.cpp index dc499b637..3750d48d7 100644 --- a/source/FAST/Importers/WholeSlideImageImporter.cpp +++ b/source/FAST/Importers/WholeSlideImageImporter.cpp @@ -18,8 +18,7 @@ namespace fast { void WholeSlideImageImporter::readWithOpenSlide(std::string filename) { openslide_t* file = openslide_open(filename.c_str()); if(file == nullptr) { - const char * message = openslide_get_error(file); - throw Exception("Unable to open file " + filename + ". OpenSlide error message: " + message); + throw Exception("OpenSlide was unable to open the file: " + filename); } // Read metainformation