Skip to content

Commit

Permalink
Update SHA
Browse files Browse the repository at this point in the history
  • Loading branch information
smistad committed Mar 20, 2024
1 parent b7d1e46 commit 21f6968
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/ModuleWholeSlideImaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if(FAST_MODULE_WholeSlideImaging)
)
fast_download_dependency(openslide
3.4.1
d18136ebd32e74385e094682c3d0ac9e855c9606d8a75848417d0bcfeffd9aaa
cf362c0d2abb1bbc49fd91a9549625cd41e4821d794ae8ccf5707b63857caf19
libopenslide.so
)
endif()
Expand Down
3 changes: 1 addition & 2 deletions source/FAST/Importers/WholeSlideImageImporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21f6968

Please sign in to comment.