Skip to content

Commit

Permalink
Updated the vendored takane library.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Nov 9, 2024
1 parent 60af2f2 commit f0bce72
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: alabaster.base
Title: Save Bioconductor Objects To File
Version: 1.7.0
Date: 2024-10-17
Version: 1.7.1
Date: 2024-11-09
Authors@R: person("Aaron", "Lun", role=c("aut", "cre"), email="infinite.monkeys.with.keyboards@gmail.com")
License: MIT + file LICENSE
Description:
Expand Down
2 changes: 1 addition & 1 deletion inst/include/fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ harvester byteme https://github.com/LTLA/byteme v1.1.0
harvester comservatory https://github.com/ArtifactDB/comservatory v2.0.1
harvester uzuki2 https://github.com/ArtifactDB/uzuki2 v1.4.0
harvester ritsuko https://github.com/ArtifactDB/ritsuko v0.5.2
harvester takane https://github.com/ArtifactDB/takane v0.7.0
harvester takane https://github.com/ArtifactDB/takane v0.7.1
harvester chihaya https://github.com/ArtifactDB/chihaya v1.1.0
5 changes: 5 additions & 0 deletions inst/include/takane/spatial_experiment.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ inline void validate_image(const std::filesystem::path& path, size_t i, const st

inline void validate_images(const std::filesystem::path& path, size_t ncols, Options& options, const ritsuko::Version& version) {
auto image_dir = path / "images";
if (!std::filesystem::exists(image_dir) && version.ge(1, 2, 0)) {
// No images at all, which is permitted.
return;
}

auto mappath = image_dir / "mapping.h5";
auto ihandle = ritsuko::hdf5::open_file(mappath);
auto ghandle = ritsuko::hdf5::open_group(ihandle, "spatial_experiment");
Expand Down

0 comments on commit f0bce72

Please sign in to comment.